An open API service indexing awesome lists of open source software.

https://github.com/githubjakob/react-monorepo-code-sharing


https://github.com/githubjakob/react-monorepo-code-sharing

Last synced: 12 months ago
JSON representation

Awesome Lists containing this project

README

          

# React-code-sharing

This project contains an example for educational purposes of how to import a react component from outside src.

The goal is to allow for a mono repository with multiple react application that share code.

`app-cra` shows why it's not possible to import from outside src when using create-react-app.

`app-cra-rewired` shows a solution how to allow the import when using create-react-app.

`app-ejected` shows how to configure webpack for an app ejected from create-react-app.