Support CRA v4
See original GitHub issueCRA v4 was just released: https://github.com/facebook/create-react-app/blob/master/CHANGELOG.md
I gave it a quick try and I’m getting the following error at the moment:
craco: *** Cannot find ESLint loader (eslint-loader). ***
(Didn’t dig further into it though.)
Issue Analytics
- State:
- Created 3 years ago
- Reactions:91
- Comments:25 (7 by maintainers)
Top Results From Across the Web
Support CRA v4 · Issue #205 · dilanx/craco - GitHub
I will not personally invest time to support CRA v4 since I am not using CRA anymore. We do have a few projects...
Read more >Upgrade Create React App-Based Projects to Version 4 (CRA 4)
In this article, we'll use Create React App 4 (CRA 4) as an example to walk through the process of upgrading Create React...
Read more >Create React App
Create React App · Less to Learn. You don't need to learn and configure many build tools. Instant reloads help you focus on...
Read more >What's new in Create React App version 4 - Nathan Sebhastian
React version 17 means CRA project now supports JSX transform, which enables you to use JSX without importing React. Remember in the past...
Read more >PWA with Create React App and service workers
Create React App ≥v4.0; A production web server that supports HTTPS ... npx create-react-app my-app --template cra-template-pwa.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Merged this PR https://github.com/gsoft-inc/craco/pull/219 from @alexasselin008 which fix CRACO ESLint feature for CR4 🥳
It’s released with https://github.com/gsoft-inc/craco/releases/tag/v6.0.0
While discussing this PR, we decided it was best if CRACO only support the latest MAJOR version of CRA to simplify the maintenance of CRACO and it’s api.
@alexasselin008 added a validation which run when CRACO start to ensure it’s using a supported version of
react-script
otherwise an alternate version of CRACO is recommended depending on which version ofreact-script
is installed. More info available here.With this PR, I believe it covers all the changes required to support CRA 4. It’s been a great community achievement, thank you to everyone who participated in making this happen!
I guess a few things will break since a project like this is a major hack which break easily.
I will not personally invest time to support CRA v4 since I am not using CRA anymore. We do have a few projects at GSoft using CRACO so I still hope that someone from one of these teams will jump in to support CRA 4 but as of now, no one is willing to do it.
I will gladly review a PR if anyone is interested to submit one.
Thank you,
Patrick