refactor(children): remove redundant assignment to oldVNode#4956
refactor(children): remove redundant assignment to oldVNode#4956rschristian merged 1 commit intopreactjs:mainfrom
Conversation
📊 Tachometer Benchmark ResultsSummaryduration
usedJSHeapSize
Resultscreate10kduration
usedJSHeapSize
filter-listduration
usedJSHeapSize
hydrate1kduration
usedJSHeapSize
many-updatesduration
usedJSHeapSize
replace1kduration
usedJSHeapSize
run-warmup-0
run-warmup-1
run-warmup-2
run-warmup-3
run-warmup-4
run-final
text-updateduration
usedJSHeapSize
tododuration
usedJSHeapSize
update10th1kduration
usedJSHeapSize
|
|
This one I'm less sure of, looks a little suspect looking at line 253/254 & this commit: b4a1cc2 Also, rebasing before opening PRs is generally appreciated. This has 6 commits associated with it because you haven't. |
|
@rschristian sorry about the extra commits, won't happen again I can see your concern, but I'm going through every branch of code after that assignment and it seems everything would be fine without it. |
No worries, and you can rebase this yet. Just makes it a bit easier for us is all.
Looks a bit suspect to me yet, would need to look into it more later this week
In a perfect world that'd be enough, but in reality, test suites can have gaps. That's certainly a good sign though. |
Co-authored-by: Ali Garajian <[email protected]>
* refactor(children): remove redundant assignment to childVNode (#4951) * refactor(children): remove redundant assignment to childVNode * refactor(children): use key instead of childVNode.key --------- Co-authored-by: Ali Garajian <[email protected]> * refactor(diff): no need to reset props and context when creating component (#4954) * refactor(children): remove redundant assignment to childVNode * refactor(children): use key instead of childVNode.key * refactor(diff): no need to reset props and context when creating component --------- Co-authored-by: Ali Garajian <[email protected]> * refactor(children): remove redundant assignment to oldVNode (#4956) Co-authored-by: Ali Garajian <[email protected]> * refactor(diff): set oldProps default value on declaration (#4959) --------- Co-authored-by: Ali Garajian <[email protected]> Co-authored-by: Ali Garajian <[email protected]>
No description provided.