diff --git a/playground/examples.rt b/playground/examples.rt index 5317849..47bbe80 100644 --- a/playground/examples.rt +++ b/playground/examples.rt @@ -3,65 +3,65 @@
-

Hello world in react templates

+

Hello world in React Templates

- Simple hello world html transformed into react javascript code + Simple "Hello world" HTML transformed into React JavaScript code.

-

This shows the use of rt-if

+

rt-if

- This shows the use of rt-if + This shows the use of rt-if.

-

This shows the use of rt-repeat

+

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 uses rt-repeat to show multiple items and rt-scope to create a reusable name for multiple calculations.

-

This shows the use of rt-props

+

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 + rt-props is used 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 + rt-props is used 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 + This example shows working with async events, the usage of regular event handler function pointers instead of lambda expression, and working with two-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 + This example shows how to load other React components and libraries into a React template and then use them within the template.

AMD

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

CommonJS

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