Socket
Socket
Sign inDemoInstall

react-isomorphic-boilerplate

Package Overview
Dependencies
3
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-isomorphic-boilerplate

This boilerplate would help you build a react/redux/react-router isomorphic/universal web app


Version published
Weekly downloads
7
decreased by-30%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

react-isomorphic-boilerplate

This boilerplate would help you build a react/redux/react-router isomorphic/universal web app

Concept

development

Start 3 process to start developing your app:

  1. npm run build:client:dev:w: build client side code and watch it's change
  2. npm run build:server:dev:w: build server side conde and watch it's change
  3. npm start: nodemon executing dist/server.js, only watches on it's change

Packing code

  • Fonts: font face are set in src/client/global.scss
  • Images: set src relative to your js or scss file,

extract-text-webpack-plugin would extract them (font, image) into static assets and handle url transform.

Style

Production build

  1. npm run build:client:prod
  2. npm run build:server:prod

TODOS:

  1. hash key
  2. production build
  3. style loader
  4. font / img loader
  5. test on server
  6. test on react component
  7. apply react router
  8. apply logic base on path(seo optimized)

LICENSE

MIT

Keywords

FAQs

Last updated on 17 Nov 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc