mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
--- - [patch] Find context variables within FunctionDeclarations (previously missing) - [todo] Need to fix non-allocating values / variables being DCE'd One approach is to label everything referenced by a lambda as context variables. I couldn't come up with other examples that break without this change, so I wonder if something lighter / hackier works just as well. (My only hesitation is that we may end up losing out on potential optimizations for everything aliased to these variables).