-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get rid of CRA #77
Comments
If you don't need any Server-Side Rendering abilities then Vite is probably the best alternative for create-react-app AFAIK. |
I can work on this. |
@knightcube thanks! let me know if you have any question, or if there's any help required |
I am following the instructions in the article that you sent. As per Step 8 we will have to migrate our testing library from Jest to Vitest. Currently, all our tests have been written in Jest. Therefore, migrating to Vitest will break the project. I am making some changes to the
Thoughts? |
are you sure that we have Jest tests? |
@NoamGaash No we have Playwright tests. |
@knightcube Playwright won't care about the way we transpile our project. It just uses |
But why is the playwright test not running here? - https://github.com/hasadna/open-bus-map-search/actions/runs/6378722977/job/17313602705?pr=86 |
Did you try to run it locally? Maybe its listening to the wrong port number |
Yeah I updated the port numbers in #86 just now. |
thank you @knightcube ! |
I was calculating the impact of this contribution. With CRA: With Vite: MASSIVE IMPROVEMENT! |
we use react-scripts, and it's deprecated
https://blog.bitsrc.io/the-future-of-react-why-create-react-app-is-deprecated-and-hooks-are-the-future-83e8a087a325
Right now, I tend to think Vite is the best alternative (if you have a different opinion, convince me)
https://dev.to/henriquejensen/migrating-from-create-react-app-to-vite-a-quick-and-easy-guide-5e72
The text was updated successfully, but these errors were encountered: