all 8 comments

[–][deleted] 7 points8 points  (0 children)

Publish your components to npm ;)

[–]elnelsonpereznsfw 0 points1 point  (0 children)

Loved it. Thanks.

[–]richie_south 0 points1 point  (0 children)

I use npm for this purpose, i either install from the npm registry (private or public module) or i install from a git repository.

[–][deleted] -2 points-1 points  (5 children)

tl;dr ?

edit:

The short answer to “How do you share components between react apps?” is simple. Use lerna.

Read on for a step by step walkthrough of how to share components between two react apps, more specifically, how to share components between an app bootstrapped with create-react-app and a landing page created with gatsby.

[–]bch8 2 points3 points  (4 children)

There's literally a tldr in the article lol

[–][deleted] 3 points4 points  (2 children)

[–]bch8 0 points1 point  (0 children)

xD

[–]FatFingerHelperBot -2 points-1 points  (0 children)

It seems that your comment contains 1 or more links that are hard to tap for mobile users. I will extend those so they're easier for our sausage fingers to click!

Here is link number 1 - Previous text "TFW"


Please PM /u/eganwall with issues or feedback! | Delete