Open goplayoutside3 opened 3 months ago
Change import React from 'react’ which could be refactored to import the hooks individually
There's a codemod for this, which I've used previously to remove the React global from packages in the Zooniverse front-end monorepo.
ALICE is using React 16, but the latest version is React 18. Upgrading will involve:
react-scripts
from the app https://github.com/zooniverse/alice/issues/637import React from 'react’
which could be refactored to import the hooks individually