Comment

Comment by Ronsenshi

From my little search, it seems like all you need to do is include your component to the project folder and then "require()" it. Seems straightforward enough - same as with any other node modules.

You can also upload your component to the npm, so that other could use it. By adding "react-component" keyowrd to the description on npm, your component should be available at http://react-components.com/.

If you want to use in on the frontend right away, then maybe write it in AMD format, so that you could load it via require.js?

parent Ronsenshi 12 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton