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
Has anyone used this with something like Flux Constants? I'm curious how the concept of an type being an object will work into a tool like this. I could see it handling it no issue. Though I also see an issue when it comes to serializing state and actions. Specificity if I wanted to download and reload my application with a particular state, and a set of action to play through. Since with flux constant you are dealing with objects and not strings, you'd some how need to match the object in the action back up with the actual object reference at run time.
I like the idea behind flux-constants but I don't like the idea of distancing myself from the tools and other amazing things that Redux gives from it's simplicity.
The text was updated successfully, but these errors were encountered:
After reading through this issue (reduxjs/redux#786) and playing around with flux constants and the todo example I've concluded that using flux-constants or anything like it does not work.
It primarily comes down to the issue that you can not serialize object references correctly. To make sure you don't loose out on some amazing tools I think serializing state and action frequencies is very important.
Has anyone used this with something like Flux Constants? I'm curious how the concept of an type being an object will work into a tool like this. I could see it handling it no issue. Though I also see an issue when it comes to serializing state and actions. Specificity if I wanted to download and reload my application with a particular state, and a set of action to play through. Since with flux constant you are dealing with objects and not strings, you'd some how need to match the object in the action back up with the actual object reference at run time.
I like the idea behind flux-constants but I don't like the idea of distancing myself from the tools and other amazing things that Redux gives from it's simplicity.
The text was updated successfully, but these errors were encountered: