-
Can I use CLI tools like create-react-app to start a new project with modern yarn, no migration? If I follow Yarn 'getting started' instructions and want to create a new react app, as best I can understand I have to go through installing in Yarn 1, then migrating. Is that my best option or is there a more direct alternative? The more important question: if I want the headline benefits of Yarn 2 like Zero-installs and Plug-n-Play, what are the minimal reliable steps for getting there? Ideally instructions serve just as a minimalist reminder of step 1, step 2, step 3, ... step n. A while back I "read the manual" thoroughly, cheering as I did, and I successfully started "modern yarn" projects soon after said thorough reading. Now when I return to the Getting Started docs, hoping not to do another thorough reading, I simply can't make headway. (The docs contain boatloads of info, and the actual steps are challenging to extract, even if you've extracted them in the past). |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Here's the approach I'm using currently. I've tried several options. None seems likely to be the 'supported' approach. I'll note this one as a reminder to myself, and for anyone who finds it useful. It seems to be smoother and easier to remember than the alternatives I've tried.
Note the repetition of |
Beta Was this translation helpful? Give feedback.
Here's the approach I'm using currently. I've tried several options. None seems likely to be the 'supported' approach. I'll note this one as a reminder to myself, and for anyone who finds it useful. It seems to be smoother and easier to remember than the alternatives I've tried.