Skip to content

Commit

Permalink
added: a part of a doc for react
Browse files Browse the repository at this point in the history
  • Loading branch information
Viktor Pasynok committed Nov 5, 2024
1 parent 20515c7 commit e42d446
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions website/src/content/docs/how-to-guides/use-with-react.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,5 @@ await compose.up([logoContainer, layoutContainer]);
### Limitations of This Approach

This approach works well for pages with a relatively simple component structure and minimal nesting. However, for more complex setups with deeply nested components, you might need a higher level of flexibility. To achieve this, you can use a slot-based concept, which is not natively available in React but is supported by the `grlt-hub` ecosystem through the [@grlt-hub/react-slots](https://github.com/grlt-hub/react-slots) package.

## Example Using Slots

0 comments on commit e42d446

Please sign in to comment.