mirror of
https://github.com/facebookarchive/prepack.git
synced 2024-10-26 23:32:02 +03:00
273312ecd8
Summary: Currently, there are too many cases where ReactElement evaluation bails out. This PR aims to solve many of those cases: - [x] Ensure `props` have a deleted `key` and `ref` - [x] Refactor JSX evaluation to properly handle and deal with JSX spreads - [x] Ensure all react-tests run both transpiled and non-transpiled so the `React.createElement` route can be evaluated and tested - [x] Refactor React.createElement mock to work like the JSX evaluator - [x] Throw and error when we've detected cases where `key` and `ref` are abstract and not deleted or defined Will do in a follow up PR once other PRs land: - Ensure that we internally pass around `reactHint` in cases of `Object.assign` Closes https://github.com/facebook/prepack/pull/1447 Differential Revision: D7049578 Pulled By: trueadm fbshipit-source-id: 7f8330c8e4c47c5095b672f686cedc593852a6a8 |
||
---|---|---|
.. | ||
error-handler | ||
node-cli | ||
react | ||
residual | ||
serializer | ||
source-maps | ||
std-in | ||
test262@098f9ca3de |