React App screenshot

React App

Author Avatar Theme by Kriasoft
Updated: 31 Jul 2019
612 Stars

Create React App with server-side code support

Categories

Product Analysis: React App SDK

Overview

React App SDK is a powerful tool that combines all the features of Create React App with additional support for server-side code (SSR, GraphQL API, etc) and config overrides (Babel, Webpack, etc). It offers a seamless integration for adding server-side code into your application built with Create React App.

Features

  • Server-side Code Support: React App SDK allows you to incorporate server-side rendering and API endpoints into your application.
  • Config Overrides: You can easily override the default Babel and Webpack configurations using React App SDK.
  • Drop-in Replacement: React App SDK can be used as a direct replacement for the react-scripts NPM module.

Installation

To use React App SDK in your project, follow these steps:

  1. Replace the react-scripts dev dependency in your package.json file with react-app-tools.
  2. Provide an additional entry point for Node.js in your project directory layout.
  3. Launch the app in development mode using the command provided.
  4. Access your app in the browser at http://localhost:3000/.
  5. When ready to deploy to production, create a minified bundle using the provided command.

Summary

React App SDK enhances the functionality of Create React App by providing support for server-side code and config overrides. It offers a convenient and intuitive way to incorporate server-side rendering and API endpoints into your React application. With React App SDK, you can easily customize your Babel and Webpack configurations. It can be seamlessly integrated into your existing project as a drop-in replacement for react-scripts.