{"push_id":2145154572,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"07046e9e79d8bcff3d1fa26297fd4da852031862","before":"739a62dfa8d2b7627ed1228d4417fbfcf5040f7d","commits":[{"sha":"07046e9e79d8bcff3d1fa26297fd4da852031862","author":{"name":"Andrey Mishanin","email":"e80bf317d9e5fd7fc43c494be5b67bb5295f7473@fb.com"},"message":"Added failing test for state handling\n\nSummary:\nAnother test demonstrating a limitation of current memoization infra. I'll be using a tree with two components:\n\n```\nRoot\n  ↓\n  A\n```\n\nwhich have a state with a single integer property (`computeCount`).\n\n1) Start by building a component tree and populating memoization cache\n2) Update the state of a child component\n3) Build component tree for the second time, which will reuse the whole tree starting from the root component\n4) **When we're reusing the component tree, we don't carry the scope tree over**, so `result2.scopeRoot` won't have the scope handle for child component anymore\n5) So, when we try to build component tree for the last time, we end up with initial state for child component again\n\nReviewed By: kfirapps\n\nDifferential Revision: D6397621\n\nfbshipit-source-id: c34399328389c4a5ba9f6adb1a32dc9e6937d404","distinct":true,"url":"https://api.github.com/repos/facebook/componentkit/commits/07046e9e79d8bcff3d1fa26297fd4da852031862"}]}
{"actor":{"display_login":"facebook-github-bot"}}