Hi I was trying to develop a react package which I did and published, but I want to know a way on how I can easily do the development in the local. As what I did is, I developed a component and then published in npm and installed to use it, however it is also possible to use npm i '/folderName' this requires a new project to be used. Now this leads to a total confusion, How am I supposed to use the component? and do the development without publishing each time.
Package is : @venkataramanan/simple-react-package (Just a template from: https://medium.com/weekly-webtips/how-to-build-a-react-library-with-typescript-d0f08a1f517e) and any answer is appreciated.
Tried to work with react package however I want to publish it each time before running in local or have to create a seperate package itself, need a shorter and easier development mode.