3 ms·
Oh also certain concepts and strategies are only written about in the legacy documentation. Good luck new devs!
by andrewmcwatters 3y ago
Oh also certain concepts and strategies are only written about in the legacy documentation. Good luck new devs!
- zoover2020 3y agoReminds me of a React V11 codebase at work. It is bad enough that I always include it as a heads up during our scoping, as in: "double your estimates because the version of React is so old"
- june_twenty 3y agohappens to lots of stuff and is not react specific
- c-hendricks 3y agoCare to source/link them? You obviously think they're important so you should do some good and share!
- andrewmcwatters 3y agoNew docs don't tell you how to get a minimal start anymore. You MUST fully commit to a create-react-app flow or similar, or they vaguely point you in the direction of Babel without explicit direction. The formal way of using React and JSX without a full SPA framework is only listed here: https://legacy.reactjs.org/docs/add-react-to-a-website.html https://legacy.reactjs.org/docs/add-react-to-a-website.html
- c-hendricks 3y agoAh, I guess you're referring to how they're pushing frameworks over bundlers? > If you want to build a new app or a new website fully with React, we recommend picking one of the React-powered frameworks popular in the community. Frameworks provide features that most apps and sites eventually need, including routing, data fetching, and generating HTML. > Grab react and react-dom from npm, set up your custom build process with a bundler like Vite or Parcel, and add other tools as you need them for routing, static generation or server-side rendering, and more. https://react.dev/learn/start-a-new-react-project#can-i-use-react-without-a-framework https://react.dev/learn/start-a-new-react-project#can-i-use-...
- tracker1 3y agoGetting started with parcel is pretty damned straight forward. https://parceljs.org/recipes/react/ https://parceljs.org/recipes/react/