create-adapter icon indicating copy to clipboard operation
create-adapter copied to clipboard

Importing React from `react` might not be necessary

Open AlCalzone opened this issue 3 years ago • 0 comments

https://www.chakshunyu.com/blog/why-did-and-dont-you-need-to-import-react/?utm_source=reddit&utm_medium=social&utm_campaign=r_javascript for details - we already use React 17, so we could easily switch to the new jsx transform: https://reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html#how-to-upgrade-to-the-new-jsx-transform

AlCalzone avatar Mar 18 '22 08:03 AlCalzone