mirror of
https://github.com/react/react.git
synced 2026-09-28 21:25:11 +08:00
Before this change, the compiler would incorrectly memoize the arguments object. Causing rerenders to not work properly. I looked into adding proper support, but it seemed it would require a decent amount of change to do it cleanly, so I figured getting rid of the miscompilation was a good start. We had tests that were using it for compiler purposes, from what I can tell changing to ...args kept the intent, so I moved them to that.