react-styleguide-generator icon indicating copy to clipboard operation
react-styleguide-generator copied to clipboard

Working with react-hot-loader

Open blai opened this issue 10 years ago • 2 comments

Thanks for creating this amazing tool!

We love it so much that we want to use it as a playground when we develop our react component library. But we couldn't find a way to integrate rsg with react-hot-loader, which requires webpack.

Is there an easy way to do this? Or maybe we can extract the core logics from rsg to a separate module so we can develop a webpack loader using that?

blai avatar Aug 31 '15 20:08 blai

I don't think there's an easy way - it would require refactoring since browserify is mixed into the code / workflow.

The authors of this project are pretty responsive to architectural changes - I wouldn't hesitate in trying to refactor the project to selectively use browserify/webpack and would recommend that if you have the time, give it a try.

theogravity avatar Aug 31 '15 22:08 theogravity

Forked as https://www.npmjs.com/package/rsg-alt

theogravity avatar Nov 24 '15 23:11 theogravity