Open GerardasB opened 8 months ago
We tried using the new transform in iTwinUI but had to revert it because it is not correctly supported in React 17 + Webpack 5. More details in https://github.com/iTwin/iTwinUI/pull/2122
Since React 17 support was dropped in #1054, the issue I mentioned in my previous comment is no longer applicable. 🎉
Is your feature request related to a problem? Please describe.
Enable JSX transform feature. Remove explicit
React
module imports, only import specific hooks where needed. https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.htmlRelated change in presentation package: https://github.com/iTwin/presentation/blob/1794a831296bd88e73a4c8b6a6bd1cb69e275605/packages/components/tsconfig.json#L4