Skip to content
forked from riot/examples

Demos and examples for Riot and submodules

License

Notifications You must be signed in to change notification settings

hudelgado/examples

 
 

Repository files navigation

Build Status MIT License

Riot Examples

This is a series of examples designed to showcase the benefits of adopting Riot. It is made possible by the Riot open source community.

Important: Not all the examples were migrated to Riot.js 4. The exampled prefixed 🚧 are not yet ported to Riot.js 4 and they are located in the wip folder. Please be patient

Note: The Riot.js 3 examples are available here .

We have several examples to choose from; each one demonstrates different aspects Riot:

Basics

Example
Timer Source Demo
Todo Source Demo
Todo (pre-compiled) Source Demo
🚧 Live filtering Source Demo
🚧 Mixins Source Demo
🚧 Observables Source Demo
🚧 Router - Page switcher Source Demo
🚧 Animated list reordering Source Demo
🚧 Simple modal Source Demo
🚧 Live Ajax Search Source Demo

Advanced

Example
TypeScript Source
🚧 ES6 Source Demo
🚧 Pre-process LESS Source Demo
🚧 Router - Complex Source Demo
🚧 Router - History API Source
Webpack Source
Rollup Source
🚧 Redux Source
🚧 GraphQL Source

Extra

Example
🚧 If, then, elseif Source Demo

Contribute

If you have an example that you think others could benefit from and you'd like to share it please read the contributing guidelines and submit a PR.

Bugs

If you find something that isn't expected please raise an issue and we'll get on it. To make it easier to debug please use the Bug Reporter.

About

Demos and examples for Riot and submodules

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 67.0%
  • JavaScript 28.1%
  • CSS 4.2%
  • TypeScript 0.7%