You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I am creating an app which is based on canvas. I am using react-redux. I have some color pickers, text size components, etc. What I want to achieve is; e.g. user changes the color in the picker an action fires which updates the UI and also the canvas component can listen to it and act accordingly. I don't want to pass handlers explicitly to the canvas component, that would be messy. I am really confused how to handle this situation in a neat way.
The text was updated successfully, but these errors were encountered:
Please see #251 and the issues linked from there. If you have a component that cares about specific actions and can’t derive the UI from the current state, your best bet is a custom middleware that emits all actions to some kind of global pubsub system. We don’t provide this but it should be possible to create with an event emitter. If you have issues with this please create a question on StackOverflow with the code that you tried, leave a link here, and I’ll try my best to reply.
Hello,
I am creating an app which is based on canvas. I am using react-redux. I have some color pickers, text size components, etc. What I want to achieve is; e.g. user changes the color in the picker an action fires which updates the UI and also the canvas component can listen to it and act accordingly. I don't want to pass handlers explicitly to the canvas component, that would be messy. I am really confused how to handle this situation in a neat way.
The text was updated successfully, but these errors were encountered: