testing-library/testing-library-docs

Remove all references to Create React App

Opened this issue · 5 comments

Is your feature request related to a problem? Please describe.

We should remove all the references to Create React App. CRA is deprecated and no longer recommended in React docs.

Currently we have a reference to CRA here: https://testing-library.com/docs/react-testing-library/intro/

Describe the solution you'd like

Remove reference to CRA from here: https://testing-library.com/docs/react-testing-library/intro/

Hi @Mikilll94 :)
Even though CRA is not recommended anymore, most of our users are probably still using CRA as it's still the de-facto standard and since we're not the React core team, we don't need to push these changes yet as we're aiming to help our users. I think we can keep this one open but I wouldn't go ahead and push a fix just yet.

I disagree, I believe Vite is superior to Create React App, and because the React core team no longer recommends it for beginners we should follow.

I disagree, I believe Vite is superior to Create React App, and because the React core team no longer recommends it for beginners we should follow.

IMO there's a difference between removing every reference to just replacing it with create-vite-app. Either way, the references are minor and I have no strong feelings either way, so w/e you choose is fine by me.

I plan on replacing the note with a Vite template (possibly my own).

Moving the note about it being preinstalled in some situations to the install/setup section might be helpful, given the usage of react-scripts is still pretty high