osamu38 / React Ssr Starter
All have been introduced React environment
Stars: ✭ 20
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to React Ssr Starter
Reeakt
A modern React boilerplate to awesome web applications
Stars: ✭ 116 (+480%)
Mutual labels: webpack, eslint, prettier, jest, enzyme, styled-components, react-router
Starter React Flux
Generate your React PWA project with TypeScript or JavaScript
Stars: ✭ 65 (+225%)
Mutual labels: webpack, eslint, prettier, jest, react-router, workbox
react-component-library-lerna
Build your own React component library managed with lerna, presented with storybook and published in private npm registry.
Stars: ✭ 55 (+175%)
Mutual labels: stylelint, eslint, styled-components, jest, prettier
Express Webpack React Redux Typescript Boilerplate
🎉 A full-stack boilerplate that using express with webpack, react and typescirpt!
Stars: ✭ 156 (+680%)
Mutual labels: webpack, eslint, stylelint, jest, react-router
React Pages Boilerplate
Deliver react + react-router application to gh-pages
Stars: ✭ 134 (+570%)
Mutual labels: webpack, eslint, jest, enzyme, react-router
Express React Boilerplate
🚀🚀🚀 This is a tool that helps programmers create Express & React projects easily base on react-cool-starter.
Stars: ✭ 32 (+60%)
Mutual labels: webpack, eslint, prettier, jest, react-router
Js Stack Boilerplate
Final boilerplate code of the JavaScript Stack from Scratch tutorial –
Stars: ✭ 145 (+625%)
Mutual labels: webpack, eslint, jest, react-router
React Bolt
⚡ The most simple & robust boilerplate for your React projects.
Stars: ✭ 298 (+1390%)
Mutual labels: webpack, eslint, jest, styled-components
Pwa
An opinionated progressive web app boilerplate
Stars: ✭ 353 (+1665%)
Mutual labels: webpack, eslint, jest, react-router
Js Stack From Scratch
🛠️⚡ Step-by-step tutorial to build a modern JavaScript stack.
Stars: ✭ 18,814 (+93970%)
Mutual labels: webpack, eslint, jest, react-router
React Redux Bootstrap Webpack Starter
React 16.9 + Typescript + React-Router 4 + Redux + Bootstrap 4 + Hot Reload + redux-devtools-extension + Webpack 4 + styled-components STARTER
Stars: ✭ 133 (+565%)
Mutual labels: webpack, jest, enzyme, workbox
React Redux Universal Boilerplate
An Universal ReactJS/Redux Boilerplate
Stars: ✭ 165 (+725%)
Mutual labels: webpack, eslint, enzyme, react-router
React Typescript Web Extension Starter
🖥 A Web Extension starter kit built with React, TypeScript, SCSS, Storybook, Jest, EsLint, Prettier, Webpack and Bootstrap. Supports Google Chrome + Mozilla Firefox + Brave Browser 🔥
Stars: ✭ 510 (+2450%)
Mutual labels: webpack, eslint, prettier, jest
Project Webcube
Continuously updated JS infrastructure for modern web dev
Stars: ✭ 141 (+605%)
Mutual labels: webpack, eslint, styled-components, react-router
Webpack React Boilerplate
Minimal React 16 and Webpack 4 boilerplate with babel 7, using the new webpack-dev-server, react-hot-loader, CSS-Modules
Stars: ✭ 358 (+1690%)
Mutual labels: eslint, prettier, jest, enzyme
Front End Guide
📚 Study guide and introduction to the modern front end stack.
Stars: ✭ 14,073 (+70265%)
Mutual labels: webpack, eslint, stylelint, jest
React-Redux-Enterprise
A React-Redux boilerplate for enterprise/large scaled web applications
Stars: ✭ 77 (+285%)
Mutual labels: eslint, styled-components, enzyme, jest
react16-seed-with-apollo-graphql-scss-router4-ssr-tests-eslint-prettier-docker-webpack3-hot
Seed to create your own project using React with Apollo GraphQL client
Stars: ✭ 19 (-5%)
Mutual labels: react-router, eslint, jest, prettier
React Bootstrap Webpack Starter
ReactJS 16.4 + new React Context API +react Router 4 + webpack 4 + babel 7+ hot Reload + Bootstrap 4 + styled-components
Stars: ✭ 103 (+415%)
Mutual labels: webpack, jest, styled-components, react-router
Serverless Typescript Starter
🗄🙅♀️ Deploy your next serverless JavaScript function in seconds
Stars: ✭ 653 (+3165%)
Mutual labels: webpack, eslint, prettier, jest
react-ssr-starter
All have been introduced React environment.
Features
- react
- react-router
- react-helmet-async
- react-hot-loader
- redux
- styled-components
- loadable-components
- express
- workbox
- eslint
- stylelint
- prettier
- jest
- enzyme
- storybook
- webpack
- babel
Install
$ git clone https://github.com/osamu38/react-ssr-starter.git
$ cd react-ssr-starter
$ npm i
Run
$ npm run dev
Go to http://localhost:2525/
.
Build
$ npm run build
$ npm run build:client (Only build client)
$ npm run build:server (Only build server)
Build and analyze
$ npm run build:analyze
$ npm run build:client:analyze
$ npm run build:server:analyze
Run for production
npm start
Go to http://localhost:2525/
.
Adding pages
Basically page component is implemented using Functional Component.
pages/home/index.js
import React from 'react';
import { Helmet } from 'react-helmet-async';
import Title from 'components/Title';
import SubTitle from 'components/SubTitle';
import UserList from 'components/UserList';
import { fetchUsers } from 'actions/user';
const HomePage = (props) => {
const {
state: {
user: { userList },
},
} = props;
return (
<>
<Helmet title="Home" />
<Title>Home Page</Title>
<SubTitle>User List</SubTitle>
<UserList userList={userList} />
</>
);
};
HomePage.loadData = async (ctx) => {
const {
dispatch,
state: {
user: { userList },
},
} = ctx;
if (!userList.length) {
return dispatch(fetchUsers());
}
return Promise.resolve();
};
export default HomePage;
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].