Skip to content

alvin-milton/riot-SPA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SPA in riotJS

Riot.js is pretty amaze

Why? Because minimalism.

features

  • No dependencies on Jquery, templating systems, or other to work
  • Component everything
  • Router
  • ReactJS-like syntax w/o JSX
  • No proprietary event handling (bleh)
  • Small footprint as compared to AngularJS, ReactJS (12.5KB minified)
  • Syntax is a pleasure to write, way cleaner than ReactJS
  • Virtual Dom
  • LifeCycle events on component
  • Tags can be rendered server-side (nodeJS)
  • Can use any preprocessor (Coffeescript, ES6, etc)
  • Faster to parse, cheaper to download as far as payload
  • Vanilla JS!!!

To Run

Tab A:

$ npm i

Tab B:

$ grunt compile (continue to run compile or add watch)

Tab C:

$ grunt serve

Todos

  • Serve components via node
  • App config file for setting defaults based on environment

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •