How to share context between multiple libraries?
I’m working on a monorepo with a collection of frontend libraries and looking to use a context from one library in another library that would both be used in the same app.
I’m working on a monorepo with a collection of frontend libraries and looking to use a context from one library in another library that would both be used in the same app.
I have few react components in a project that I would like to use in another few react projects. What would be the best way to share the components across the projects ? I know that we could use something like bitly to do it but is there any other open source way like git submodules to share the components across multiple projects.
I know that global variables are bad.
I have a folder for my client code, a folder for my server code, and a folder for code that is shared between them