create-react-app
, which, according to the latest React guidelines, is now considered a less recommended approach for new projects. For modern and up-to-date projects, it's advised to consider using frameworks like Next.js, Remix, Gatsby, or others as outlined in the official React documentation.
This was a template for creating a decentralized application (dApp) developed in React.
✅ TypeScript
✅ React 18
✅ React Redux
✅ Sass
⛔️ CSS Framework
In the project directory, you could run the following scripts:
npm start
: Runs the app in development mode.npm test
: Launches the test runner in the interactive watch mode.npm run build
: Builds the app for production to the build folder.npm run eject
: Removes the single build dependency and copies all the configuration files and transitive dependencies into the project.
With the latest developments in the React ecosystem, starting new projects with more modern frameworks, better suited to current development and production needs, is advisable. Some recommended options include:
-
Next.js: A full-stack framework for React. Ideal for creating React apps of any size, from mainly static blogs to complex dynamic applications. Check out the dApp Next.js Template as an advanced starting point for building decentralized applications.
-
Remix: A full-stack framework with nested routing, perfect for developing React apps divided into nested parts that can load data in parallel and update in response to user actions.
-
Gatsby: A framework for fast CMS-backed websites with React, featuring a rich plugin ecosystem and a GraphQL data layer to streamline the integration of content, APIs, and services into a single website.
-
Expo (for native apps): Enables the creation of universal Android, iOS, and web apps with truly native UIs using React Native.
For detailed information and updates on the best practices for starting new React projects, please visit the official React page on starting a new React project.