Redux React Starter screenshot

Redux React Starter

Author Avatar Theme by Didierfranc
Updated: 13 Dec 2017
134 Stars

DEPRECATED use the new https://github.com/didierfranc/react-webpack-4

Overview

The “styled with prettier” repository is a minimal app that provides a starting point for developers to use Redux and React, along with hot-reloading, async functions, and other useful features. It requires yarn 0.18+ to be installed on the machine. The repository also includes instructions on how to run the app with hot-reloading, build and bundle the app, deploy it to different platforms like Surge or Github Pages, and provides some additional tools and resources to enhance the development process.

Features

  • Hot-reloading: Code changes can be instantly reflected in the app without having to manually refresh the page.
  • Async function support: The app supports asynchronous calls, allowing for smooth handling of API requests and other asynchronous operations.
  • Build and Bundle: The app can be easily bundled into an optimized build, including index.html, main.[hash].js, vendor.[hash].js, and manifest.[hash].js files.
  • Deployment options: The app can be deployed to Surge.sh, Github Pages, or any other hosting service.
  • Tools and resources: The repository provides instructions on installing and using react-developer-tools and redux-devtools for better debugging and development experience.
  • Create-React-App: For those who prefer a streamlined process without tinkering with configuration, the repository suggests using create-react-app as an alternative option.

Installation

  1. Make sure yarn 0.18+ is installed on your machine.
  2. Clone the repository to your local machine.
  3. Run the command yarn install to install the necessary dependencies.
  4. Start the development server by running webpack-dev-server.
  5. The app is now ready to be coded with hot-reloading enabled.
  6. To share your locally running app with others, share the link to your localhost with them.
  7. To build the app, run the command yarn build. This will create the necessary files for deployment.
  8. To deploy the app to Surge.sh, run the command sh deploySurge.sh. Make sure you have the Surge CLI installed and configured.
  9. To deploy the app to Github Pages, go to your repository’s Settings, then navigate to Options, and select the /docs folder as the source for Github Pages.

Summary

The “styled with prettier” repository is a great starting point for developers looking to build Redux and React applications. It offers features such as hot-reloading for quick development feedback, async function support for handling API requests, and easy build and deployment options. The repository also provides additional tools and resources to enhance the development process. Overall, it provides a convenient and efficient setup for creating modern web applications.