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

C00289a7b57c00bb0ab55d5e04cc3345?s=128

Arun Michael Dsouza

October 07, 2018
Tweet

Transcript

  1. 1.
  2. 3.

    Agenda • Understanding component driven architecture • Project intro with

    live coding session • Break / Networking • Project collaboration • Project deployment on NPM
  3. 7.
  4. 17.

    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
  5. 24.

    What about re-publishing? • Commit code changes • Create new

    tag and update package.json • Run npm publish again
  6. 25.

    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