You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today we rely on create-react-app for the automatic bundling and serving of our frontend. This is really convenient because it eliminates a lot of maintenance and setup tasks that we would otherwise need to implement manually.
This also has drawbacks.
We have no control over updating dependencies that are out of date with security concerns. There are several and we are already on the latest version of the package.
We have limited control over how its internal webpack is working, and if we wanted to explore optimization of our bundle size or other build-related tasks, we'd need to do this without using create-react-app.
We have tangential dependencies like wait-on that we need to use for concurrency when scripting our dev mode. It might be possible to eliminate those as well with a custom solution.
Expanding typescript support to the backend is complicated because we need multiple configs and it's much more difficult to work around create-react-app's internal configurations.
For these reasons I think it might be worth exploring the elimination of create-react-app from the codebase. The tradeoff to reduced dependency load and greater control over the build process is that we would have additional setup code of our own to maintain/update as the application changes and grows over time.
Linked resources
No response
Additional information
No response
The text was updated successfully, but these errors were encountered:
It's probably worth a spike of both of these options so we can see just how involved eject is, vs. the convenience:difficulty ratio in the forking option.
Task summary
Today we rely on
create-react-app
for the automatic bundling and serving of our frontend. This is really convenient because it eliminates a lot of maintenance and setup tasks that we would otherwise need to implement manually.This also has drawbacks.
create-react-app
.wait-on
that we need to use for concurrency when scripting our dev mode. It might be possible to eliminate those as well with a custom solution.create-react-app
's internal configurations.For these reasons I think it might be worth exploring the elimination of
create-react-app
from the codebase. The tradeoff to reduced dependency load and greater control over the build process is that we would have additional setup code of our own to maintain/update as the application changes and grows over time.Linked resources
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: