Hi, I like the idea of svelte and would like to try it in my recent work. And I also want to use Redux to manage all my app state so I can do better logging, debug etc. Would you please provide a example of integration with Redux or provide some guidance so I can do it myself. Thx.
Probably related to #9 where I expressed my wish to separate the state management from the template rendering, so people can hook up whatever library they want.
Here is a project I setup with Redux, https://github.com/lukechinworth/codenames/tree/svelte.
basically just calls .set on the top level component with the current state after actions are dispatched from the component event handlers, which cascades down the hierarchy, achieving the one-way data flow famous to redux
@lukechinworth thanks, that's a really helpful repo. That's definitely the easiest way to integrate with Redux. I've added it to the list of examples on the README, so I'll close this issue
Most helpful comment
Here is a project I setup with Redux, https://github.com/lukechinworth/codenames/tree/svelte.
basically just calls .set on the top level component with the current state after actions are dispatched from the component event handlers, which cascades down the hierarchy, achieving the one-way data flow famous to redux