-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
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
How to refresh username from the doc example #9
Comments
I figured one way to do it which I don't find particularly elegant, but it does the job:
|
I see that this is actually a separate issue, because you are trying to re-render in response to a change in state of the model. That is not something that If you truly need to subscribe to state changes from the model, that is more likely to be a job for Flux/Redux. Otherwise you can attempt to re-design your model to move the statefulness to a different part of your application, like in a |
I was looking at this example in wiretie documentation
I just changed render a bit to see if the value refreshes
but it doesn't, what's the best way to have it refresh in this case?
The text was updated successfully, but these errors were encountered: