New React Changes

New React Changes

React just launched their new documentation you can see it here https://react.dev/ one of the thing to notice here is they replaced 'npx create-react-app' with 'npx create-next-app'

explanation from their side was :- "when i was thinking about possible futures for Create React App, it was clear client-only doesn’t make sense. way too limiting.

why are we always producing an empty HTML file if React can pre-render to HTML? why can’t i make a blog by map()ing over markdown files on my disk?" -- Dan Abramov

Its a good step because create-next-app is a CLI tool that sets up a new Next.js project with a single command. It creates a new Next.js project with a basic file structure and installs all the necessary dependencies and configuration files for you to start working on your project right away. One of the advantages of using create-next-app over create-react-app is that it provides server-side rendering (SSR) and static-site generation, which loads the site blazing fast and makes it SEO friendly. It also supports incremental static regeneration12.

In summary, create-next-app provides server-side rendering and static-site generation, which makes it faster and SEO friendly, while create-react-app provides client-side rendering.

#react #seo #nextjs #framework

To view or add a comment, sign in

More articles by KUNAL DHOBE

  • JavaScript Dynamic Fields

    Hello folks! This blog is a beginner-friendly explanation of dynamic fields in JavaScript Objects. Let's start from…

Explore content categories