question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Thoughts on "create-react-lib"

See original GitHub issue

Hi

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:closed
  • Created 7 years ago
  • Reactions:13
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
tbillingtoncommented, Dec 20, 2016

@chiefGui If jest is the only thing holding you back, https://github.com/insin/nwb/issues/173 😛 .

2reactions
tbillingtoncommented, Dec 19, 2016

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found