Koa React Isomorphic screenshot

Koa React Isomorphic

Author Avatar Theme by Hung phan
Updated: 17 Sep 2018
127 Stars

Boilerplate for Koa & React

Categories

Overview

The React and Koa boilerplate is a deprecated project that aimed to implement new concepts and libraries that work well for React.js. It includes features such as support for Immutable.js, Relay, server-side rendering, fetching data with Redux and Relay, and preloading assets. The project also provides ideas for structuring a Redux application and includes support for hot reload, Flowtype, and testing.

Features

  • Immutable.js: Available on features/immutablejs
  • Relay: Available on features/relay
  • Server-side rendering using webpack-isomorphic-tools
  • Fetching data with Redux and Relay
  • Preloading assets for improved performance
  • Support for async React components using react-loadable
  • Ideas for structuring a Redux application
  • Localize selectors using scoped-selectors-for-redux-modules
  • Hot reload support
  • Enable Flowtype in development
  • Testing support
  • Production server setup using Phusion Passenger and Nginx
  • Docker containerization

Installation

To install the React and Koa boilerplate, follow these steps:

  1. Clone the repository:
git clone [repository_url]
  1. Install the necessary dependencies:
yarn install
  1. Install redux-devtools-extension for a better development experience:
yarn add redux-devtools-extension
  1. Start the development server:
yarn dev
  1. Access the application at http://localhost:3000.

Summary

The React and Koa boilerplate is a deprecated project that aimed to showcase new concepts and libraries for React.js development. It includes features such as Immutable.js, Relay, server-side rendering, and preloading assets. The boilerplate also provides ideas for structuring a Redux application and includes support for hot reload, Flowtype, and testing. While the project has been deprecated, a new project is available at a different GitHub repository.