https://github.com/benjaminwfox/component-library
This is demo component library that abstracts a 3rd party library built for a tutorial article.
https://github.com/benjaminwfox/component-library
Last synced: over 1 year ago
JSON representation
This is demo component library that abstracts a 3rd party library built for a tutorial article.
- Host: GitHub
- URL: https://github.com/benjaminwfox/component-library
- Owner: BenjaminWFox
- Created: 2020-05-17T23:15:57.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T18:17:10.000Z (over 3 years ago)
- Last Synced: 2025-03-26T02:42:38.524Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://benjaminwfox.com/blog/tech/creating-react-component-library-abstracting-react-component-library
- Size: 1.26 MB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## React Component Library
This is a demo component library for a tutorial on creating a component library that abstracts another 3rd-party library.
To get started:
`npm install`
To build the library:
`npm run build`
To watch the files & build on changes:
`npm run watch`
### Important
If you want to use this with the sibling project below, you'll have to address the 'duplicate react' issue by running the `npm link` command below AFTER you have cloned and run `npm install` on BOTH this project and the library-consumer.
`npm link ../library-consumer/node_modules/react`
### Sibling project
See the sibling project (library-consumer) for an example of using this library during local development
https://github.com/BenjaminWFox/library-consumer