Children of experiment are not updating
See original GitHub issueIs this intended that props.children
in CoreExperiment
are stored in state.variants
object which makes them “static” and impossible to re-render when props in children change?
I have typical case in React when prop of a component inside a Variant
changes but my component will never re-render so I can’t use this module in my app 😢 And I am sad because it’s really nice and well documented 😄
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:10 (6 by maintainers)
Top Results From Across the Web
ReactJs - Child not updating after Parent State changed
The issue is that you're passing the parent's state only in the child's constructor. If the parent updates props you either need to...
Read more >New Study Disavows Marshmallow Test's Predictive Powers
Following the Bing children into their 40s, the new study finds that kids who quickly gave in to the marshmallow temptation are generally...
Read more >Research with Children FAQs - HHS.gov
Does research involving children include special requirements? ... How do the human subject research regulations define “children”?
Read more >How Experiments with Children Inform Economics | NBER
Finally, we provide 10 tips for pulling off experiments with children, including factors such as taking into account child competencies, causal ...
Read more >Visual working memory in young children | SpringerLink
Experiment 1 showed that visual similarity of drawings impaired recall in young (5-year-old) children but not in older (10-year-old) children.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey, I am glad to contribute. Yes, your right about re-render, my description is too coupled to my code in my app. I will prepare an example on jsFiddle to show what I mean. Meanwhile you can try to get a hint of my problem looking at the test I wrote (despite it’s not pretty)
Resolved in #13. Thanks!