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:
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 |
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 |
Example | ||
---|---|---|
๐ง If, then, elseif | Source | Demo |
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.
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.