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
{{ message }}
This repository was archived by the owner on Oct 25, 2023. It is now read-only.
There is a lot of magic going on with the solution above. Considering that this is a training project, we should keep the non-react stuff down to the minimum.
@novellizator@branoholy@dinassh There is a lot of magic going on with the solution above. Considering that this is a training project, we should keep the non-react stuff down to the minimum.
I think that the idea of having a single package.json file is great, but linking dependencies with some magical symlinking not so much :-) For the sake of simplicity I suggest this:
Replace CRA with Parcel bundler
Have one package.json file in the root directory
Have multiple start commands specified, i.e. start:0 would do parcel src/00-init/index.html etc.
With the above, we should have one set of dependencies but still be able to invoke the app from multiple entry points, which is what we want to do unless I am really mistaken.
AFAIK Parcel should do out of the box everything that CRA does, maybe except ESlint stuff.
There is a lot of magic going on with the solution above. Considering that this is a training project, we should keep the non-react stuff down to the minimum.
@novellizator @branoholy @dinassh There is a lot of magic going on with the solution above. Considering that this is a training project, we should keep the non-react stuff down to the minimum.
I think that the idea of having a single package.json file is great, but linking dependencies with some magical symlinking not so much :-) For the sake of simplicity I suggest this:
start:0would doparcel src/00-init/index.htmletc.With the above, we should have one set of dependencies but still be able to invoke the app from multiple entry points, which is what we want to do unless I am really mistaken.
AFAIK Parcel should do out of the box everything that CRA does, maybe except ESlint stuff.
What do you think?
Originally posted by @karelklima in #37