Thoughts on "create-react-lib"
See original GitHub issueHi
I’m trying to use create-react-app
to build a React library, but I’m facing some challenges. Maybe create-react-app
is not the best-fit approach for this and “we” should create something like create-react-lib
project.
Current challenges:
- [ ] stable generated output/dist lib to put in the
package.json/index
entry - option to, maybe optionally, embeed assets (i.e.: styles)
Maybe this is not suitable for this project. In that case, please point me to relevant projects that address this issues.
/Thanks
Issue Analytics
- State:
- Created 7 years ago
- Reactions:13
- Comments:6 (2 by maintainers)
Top Results From Across the Web
How to Create and Publish a React Component Library
This tutorial will take you through the process of creating and publishing your own custom React component library and hosting it on Github....
Read more >Is React a Library or a Framework? Here's Why it Matters
While React itself is just a library, many React-based frameworks have cropped up in recent years to provide developers with a more powerful...
Read more >Build a React Component Library - Hinam Mehra - Medium
Thoughts on create-react -library? ... In a directory of your choice, create a simple react app: $ npx create-react-app auth-component-library ...
Read more >GitHub - transitive-bullshit/create-react-library
Local development is broken into two parts (ideally using two tabs). First, run rollup to watch your src/ module and automatically recompile it...
Read more >Create Your Own React Library in 2020: Step by Step
Writing components for developers rather than writing apps for users exposes you to a different way of thinking. It is great practice and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@chiefGui If jest is the only thing holding you back, https://github.com/insin/nwb/issues/173 😛 .
I had a decent amount of success with https://github.com/insin/nwb. It is very heavy dependency wise but otherwise it works well and produces all kinds of outputs you could wish for, es6, es5, and umd.