vulcan-npm
vulcan-npm copied to clipboard
Remove import React
Like we do in Next, we shouldn't need to explicitely import React in any .tsx file
React 17 introduced a new JSX transform that does not require this import. See : https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html Should be straightforward to install
Great to know, I am currently waiting for next Storybook 6.x release, that stabilizes the issues we currently have when React versions are mismatching, before updating Next and React (should be done within a few days, it is already in alpha).