React Starter

screenshot of React Starter
react
less
ant-design

React快速搭建项目的脚手架

Overview:

react-starterPC is a scaffold for developing React and Redux applications on the PC platform. It integrates popular technologies in the React ecosystem such as React 16.12.0, Ant Design 3.26.2, React Router 5.1.2, Redux 4.0.4, and Redux Thunk 2.2.0. This scaffold is designed to meet the requirements of development, deployment, testing, and release of front-end and back-end separated projects. It optimizes the writing of actions and reducers in traditional Redux Thunk and provides lazy loading of modules based on route addresses. The scaffold also includes error boundaries to catch errors occurring in nested components and a preconfigured axios handling for failed requests.

Features:

  • Integration of popular technologies: This scaffold includes React 16.12.0, Ant Design 3.26.2, React Router 5.1.2, Redux 4.0.4, and Redux Thunk 2.2.0.
  • Optimized Redux Thunk: The scaffold improves the convenience of writing actions and reducers in Redux Thunk.
  • Lazy loading of modules: The scaffold provides examples of lazy loading modules based on route addresses, making it unnecessary to delete provided sample code.
  • Error boundaries: The scaffold includes error boundaries to catch errors occurring in nested components.
  • Unified handling of failed requests: The scaffold provides a preconfigured axios handling for failed requests.

Summary:

The react-starterPC scaffold is a useful tool for developing React and Redux applications on the PC platform. It integrates popular technologies in the React ecosystem and provides optimized features for actions, reducers, lazy loading of modules, error handling, and handling of failed requests. By following the installation guide, developers can easily set up and start using this scaffold for their projects.

react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

less
LESS

Less CSS is a dynamic stylesheet language that extends the capabilities of CSS, allowing developers to write cleaner, more modular, and reusable stylesheets with features like variables, mixins, and nested rules.

ant-design
Ant Design

Ant Design is a React UI library that provides a set of pre-designed components and design resources for building high-quality, responsive web applications.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

Redux

Redux is a state management library for JavaScript apps that provides a predictable and centralized way to manage application state. It enables developers to write actions and reducers that update the state in response to user interactions, server responses, and other events, and can be used with a variety of front-end frameworks and back-end technologies.

webpack
Webpack

Webpack is a popular open-source module bundler for JavaScript applications that bundles and optimizes the code and its dependencies for production-ready deployment. It can also be used to transform other types of assets such as CSS, images, and fonts.