Upgrade to Pro — share decks privately, control downloads, hide ads and more …

React 16 & NPM, Create your own library - React Delhi NCR 07 Oct 2018 Meetup

React 16 & NPM, Create your own library - React Delhi NCR 07 Oct 2018 Meetup

Arun Michael Dsouza

October 07, 2018
Tweet

More Decks by Arun Michael Dsouza

Other Decks in Programming

Transcript

  1. Agenda • Understanding component driven architecture • Project intro with

    live coding session • Break / Networking • Project collaboration • Project deployment on NPM
  2. Given a version number MAJOR.MINOR.PATCH, increment the: • MAJOR version

    when you make incompatible API changes • MINOR version when you add functionality in a backwards-compatible manner • PATCH version when you make backwards-compatible bug fixes
  3. What about re-publishing? • Commit code changes • Create new

    tag and update package.json • Run npm publish again
  4. Few things to keep in mind while designing your library

    • Write a simple to use API • Limit the number of dependencies • Write tests and deploy a CI service