https://github.com/githubjakob/react-monorepo-code-sharing
https://github.com/githubjakob/react-monorepo-code-sharing
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/githubjakob/react-monorepo-code-sharing
- Owner: githubjakob
- Created: 2022-06-16T13:14:01.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-16T13:24:28.000Z (about 4 years ago)
- Last Synced: 2025-06-04T19:16:26.168Z (about 1 year ago)
- Language: JavaScript
- Size: 504 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.