Replies: 3 comments 7 replies
-
Not possible at the moment as nested component are not supported (but some PR is on the way #517) What are you trying to achieve ? |
Beta Was this translation helpful? Give feedback.
-
@LitHaxor My suggestion is to go the easiest route and implement a very simple store. Here's my write-up on how to use cross-island state management in Fresh (https://zottmann.org/2022/07/31/how-to-use.html) and a link to the related discussion that made me do the write-up (#230). Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
How about an observer pattern? I made a quick demo here: https://deno.land/x/fresh_store@alpha |
Beta Was this translation helpful? Give feedback.
-
There was an option in the react to add store in react App
<Provider store={store}> <App /> </Provider>
How can I integrate this into preact
Beta Was this translation helpful? Give feedback.
All reactions