We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Taking advantage of #14 we could create HOC for different purposes. That would enforce the component concept.
For example, state persistence should be done in each component. Something like the following would be nice
@persistent class SomeReduxable extends Reduxable { ... }
Then the @persistent HOC could use the componentDidMount to rehydrate the state and the stateDidUpdate to store a new one.
@persistent
componentDidMount
stateDidUpdate
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Taking advantage of #14 we could create HOC for different purposes. That would enforce the component concept.
For example, state persistence should be done in each component. Something like the following would be nice
Then the
@persistent
HOC could use thecomponentDidMount
to rehydrate the state and thestateDidUpdate
to store a new one.The text was updated successfully, but these errors were encountered: