react-async-component

v1.0.0-beta.1
Create Components that resolve asynchronously, with support for server side rendering and code splitting.
react asynchronous component code splitting webpack

precommit

lint-staged && npm run test

build

babel-node ./tools/scripts/build.js

check

yarn run lint && yarn run test

clean

rimraf ./commonjs && rimraf ./umd && rimraf ./coverage && rimraf ./flow-coverage && rimraf ./umd

example:web

echo 'Make sure to `cd example/web && yarn install`' && cd example/web && yarn run start

lint

eslint src,tools

prepublish

yarn run build

test

jest

test:coverage

yarn run test -- --coverage

test:coverage:deploy

yarn run test:coverage && codecov

Metadata

  • MIT
  • Whatever
  • Sean Matheson
  • released 4/5/2017

Downloads

Maintainers