Hello world in react templates

Simple hello world html transformed into react javascript code

This shows the use of rt-if

This shows the use of rt-if

This shows the use of rt-repeat

This shows the use of rt-repeat, to show multiple items, and the use of rt-scope to create a reusable name for multiple calculations

This shows the use of rt-props

This shows the use of rt-props. It is used in this component to pass all the original properties set on this component (except the ones used for the component logic - onClick and eventId) to the element that will actually represent this component

Improved todo list

This shows the use of rt-props. It is used in this component to pass all the original properties set on this component (except the ones used for the component logic - onClick and eventId) to the element that will actually represent this component

Weather

This example shows working with async events, usage of regular event handler function pointers instead of lambda expression, and working with 2 way binding

rt-require

This example shows how to load other react components and libraries into a react-template and use them in the template

AMD

This example shows the rt-require sample output with AMD support

CommonJS

This example shows the rt-require sample output with CommonJS support