mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
* Refactor component search to prepare for deeper traversals * Register HOCs with intermediate results * Register components that are used as JSX types * Add integration test skeleton The integration test combines testing runtime together with the Babel plugin. It's a bit harder to debug because multiple things can go wrong, but it helps us build confidence that specific scenarios work well. * Add HOC integration test and fix conflict with JSX transform * Infer usage from createElement too This helps us avoid dependency on the plugin order. * Remove outdated comments * Wrap tests in __DEV__ * Support export default hoc(...) for anonymous functions * Fix test indentation * Fix comment typo * Use named function for test as this case is more important