ReactiveText was created to provide fine-grained updates to the VDOM without
triggering component re-renders when the signal updates.
This allows React to function as close as possible to SolidJS where the JSX only renders once.
To render a signal, just pass the Accessor function to the data prop.
Note
The data prop expects either a String or Number value.
To render complex lists, utilize the For component to loop through the content and then ReactiveText to display specific signal nodes.
ReactiveText accepts the following options:
| Params | Required | Description |
|---|---|---|
data | String | Number | The Accessor to watch and render in the UI. |
Count: 0
Render Count: 2