Closed JoshK2 closed 4 years ago
I have a component in React that uses this feature, and the compiler not support it.
I fork the compiler and added this babel plugin to solve it: https://babeljs.io/docs/en/babel-plugin-proposal-optional-chaining
I fixed this in React compiler version 1.0.6 https://bit.dev/bit/envs/compilers/react?version=1.0.6 https://github.com/teambit/envs/pull/60
Description
I have a component in React that uses this feature, and the compiler not support it.
Specifications
Context and additional information
I fork the compiler and added this babel plugin to solve it: https://babeljs.io/docs/en/babel-plugin-proposal-optional-chaining