All Projects → danielstern → Isomorphic React

danielstern / Isomorphic React

A simple but powerful React application built on a standards-compliant back-end

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Isomorphic React

React Redux Styled Hot Universal
react boilerplate used best practices and focus on performance
Stars: ✭ 147 (-53.77%)
Mutual labels:  webpack, universal, isomorphic, react-router
Vortigern
A universal boilerplate for building web applications w/ TypeScript, React, Redux, Server Side Rendering and more.
Stars: ✭ 647 (+103.46%)
Mutual labels:  webpack, universal, isomorphic
react-ssr-spa
Server side rendered single page app using reactjs official libraries.
Stars: ✭ 30 (-90.57%)
Mutual labels:  isomorphic, react-router, universal
Express React Boilerplate
🚀🚀🚀 This is a tool that helps programmers create Express & React projects easily base on react-cool-starter.
Stars: ✭ 32 (-89.94%)
Mutual labels:  webpack, universal, react-router
Arc
React starter kit based on Atomic Design
Stars: ✭ 2,780 (+774.21%)
Mutual labels:  universal, isomorphic, react-router
Pwa
An opinionated progressive web app boilerplate
Stars: ✭ 353 (+11.01%)
Mutual labels:  webpack, universal, react-router
Reactgo
Your One-Stop solution for a full-stack universal Redux App!
Stars: ✭ 2,784 (+775.47%)
Mutual labels:  webpack, universal, react-router
Universal
Seed project for Angular Universal apps featuring Server-Side Rendering (SSR), Webpack, CLI scaffolding, dev/prod modes, AoT compilation, HMR, SCSS compilation, lazy loading, config, cache, i18n, SEO, and TSLint/codelyzer
Stars: ✭ 669 (+110.38%)
Mutual labels:  webpack, universal, isomorphic
Razzle
✨ Create server-rendered universal JavaScript applications with no configuration
Stars: ✭ 10,547 (+3216.67%)
Mutual labels:  webpack, universal, isomorphic
Razzle Material Ui Styled Example
Razzle Material-UI example with Styled Components using Express with compression
Stars: ✭ 117 (-63.21%)
Mutual labels:  webpack, universal, isomorphic
Isomorphic Webpack
Abstracts universal consumption of application code base using webpack.
Stars: ✭ 294 (-7.55%)
Mutual labels:  webpack, universal, isomorphic
Isomorphic Lab
Isomorphic React experimentation
Stars: ✭ 144 (-54.72%)
Mutual labels:  universal, isomorphic, react-router
Universal React Tutorial
📓 How to build universal web apps with React.
Stars: ✭ 136 (-57.23%)
Mutual labels:  universal, isomorphic, react-router
FlipED
A LMS built specifically for Thailand's Education 4.0 system.
Stars: ✭ 24 (-92.45%)
Mutual labels:  isomorphic, react-router, universal
Webpack Isomorphic Dev Middleware
The webpack-dev-middleware, but for isomorphic applications
Stars: ✭ 38 (-88.05%)
Mutual labels:  webpack, universal, isomorphic
Project Webcube
Continuously updated JS infrastructure for modern web dev
Stars: ✭ 141 (-55.66%)
Mutual labels:  webpack, isomorphic, react-router
React Isomorphic Starterkit
Create an isomorphic React app in less than 5 minutes
Stars: ✭ 2,326 (+631.45%)
Mutual labels:  webpack, universal, isomorphic
react-ssr-starter
📚 Featuring Webpack 4, React 17-18, SSR, HMR, prefetching, universal lazy-loading, and more
Stars: ✭ 18 (-94.34%)
Mutual labels:  isomorphic, universal
redux-pluto
redux pluto
Stars: ✭ 75 (-76.42%)
Mutual labels:  isomorphic, universal
webpack-isomorphic-compiler
A compiler that makes your life easier if you are building isomorphic webpack powered apps, that is, single page applications with server-side rendering
Stars: ✭ 16 (-94.97%)
Mutual labels:  isomorphic, universal

Isomorphic React

Updated 2021 Version

  • As of February 2021, the Jest Branch is now merged into the main branch of this project

A Starter Isomorphic React Application with All Best Practices and No Frills

image

About The Application

This application is a basic API client which gathers data from an outside API (in this case, Stackoverflow) and generates an isomorphic, single-page application (SPA).

Why Isomorphic React?

Great question!

  • Uses React / Redux as main application engine
  • Supports hot reloading and server rendering!
  • Uses React Router (in a combination with server rendering that is truly amazing)
  • No fluff, just the good stuff

Getting Started

  1. Clone the repository
  2. install dependencies npm install && npm run postinstall
  3. Run the dev server npm run start-dev
  4. Navigate to the application's url http://localhost:3000/

Usage

Enabling / Disabling Server Rendering

Server rendering is great, but sometimes we want to disable it when there's an error in our render and we'd rather troubleshoot it in the client. This setting is passed in as a CLI argument via the --useServerRender=true argument. You can modify this in package.json to --useServerRender=false which will disable any server-side rendering functionality.

Enabling / Disabling Live Data

This application is designed to grab the latest data from Stackoverflow.com. However, their API has a strict request limit which means that no questions will be returned after X requests (usually 300). Therefore, the application comes loaded with mock-questions in the data directory. To ease the learning process by eliminating potential sources of error, live data is disabled by default. However, you are strongly encouraged to use live data once you understand the associated pitfalls.

  • Note: You can increase your allotted requests to a much larger number by registering an application here, https://stackapps.com/apps/oauth/register and then appending the key to the URLs in data/api-real-url.js

Production Build

This application fully supports a production build setting, which disables live reloading in favor of precompiled and uglified JS, which boosts performance. To run production, run the command npm run start-prod, which automatically triggers the build script. This mode is recommended for production. However, this boilerplate has never been used in actual production so utilize caution if deploying as a real application.

Troubleshooting

unexpected token import

This error appears when babel is not configured correctly. This can actually be caused by outdated global dependencies, and is hard to fix. For best results, try the following -

  • Install babel-register as a local saved dependency
  • Update global versions of babel, webpack and all dependencies to latest / course versions

Any Error That is Taking a Long Time to Troubleshoot

Things can always go wrong in the world of programming. If this happens, clone the master branch of this repo to a new directory and run the installation instructions. If desired, you can work backwards, pruning extra files until you get the application in the state you want.

Problems with the Repo

I want this repo to work perfectly for as many users as possible. Got a problem? Open an issue! Let's figure out a solution together.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].