-
Notifications
You must be signed in to change notification settings - Fork 71
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
Watch props changes automatically #4
Comments
do you mean do this |
Hey @roberto68. I'm sorry but I don't clear the question. |
I mean rerun the composerFunction. if there is component Timer I should do |
I need to pass props through the container to child components, however it appears that any prop change sent to the container still triggers a rererun. I looked through the code, and am looking for best way to implement this. Would it make sense to create a new option, sort of like Let me know if that approach looks good and I'll submit a PR for this. |
Just submitted a PR for a start. This adds a new option This only half solves my problem. Is there any way to "pass-through" a param to the child component without triggering a rerun on the container component? I'd like to not rerun the container, but re-render some specific child components. |
Whats the status of this ? is there a solution? https://forums.meteor.com/t/react-komposer-render-crazy-mounts-of-times-when-collection-updated/25518/3 |
Get a list of props used by the composer function. Then re-run the composer function if they changed.
This will fix #1
The text was updated successfully, but these errors were encountered: