Skip to content

Instantly share code, notes, and snippets.

@transitive-bullshit
Created September 23, 2017 06:44
Show Gist options
  • Save transitive-bullshit/ac63d4682700fc68f1d96adeebb098b3 to your computer and use it in GitHub Desktop.
Save transitive-bullshit/ac63d4682700fc68f1d96adeebb098b3 to your computer and use it in GitHub Desktop.
react-modern-library-boilerplate-1
# run example to start developing your new component against
npm link # the link commands are important for local development
npm install # disregard any warnings about missing peer dependencies
npm start # runs rollup with watch flag
# (in another tab, run the example create-react-app)
cd example
npm link react-poop-emoji
npm install
npm start # runs create-react-app hot-reload dev server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment