Skip to content

Commit

Permalink
readme fix
Browse files Browse the repository at this point in the history
  • Loading branch information
atellmer committed Sep 3, 2022
1 parent f4f49f0 commit f79c7a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ const App = createComponent(({ slot }) => {
render(<App>Content</App>, document.getElementById('root'));
```
<a name="recursive-rendering"></a>
## Recursive component rendering
## Recursive components rendering
You can put components into themself to get recursion if you want. But every recursion must have return condition for out. In other case we will have infinity loop. Recursive rendering might be useful for tree building or something else.

```tsx
Expand Down

0 comments on commit f79c7a3

Please sign in to comment.