When i had create my project i didn't know abuot create-react-app, but it's really good tool to reduce time that i've spending on webpack support.
Is there a way to migrate whole project to CRA?
When i had create my project i didn't know abuot create-react-app, but it's really good tool to reduce time that i've spending on webpack support.
Is there a way to migrate whole project to CRA?
First of all, you need a plan to migrate.
As i see, easiest way to migrate it's create new project with create-react-app
and just paste your project src to the new place.
But there is figuring out few questions that you need to be ready to handle:
jest
? If not, you need to migrate them.import
or require
)? You need es6 style.npm
or yarn
? CRA recommends yarn
.