We are contributing to this repo heavily on a daily basis. As we are developing components, we are learning new things and updating the spec constantly. So, in case you opt to use some of the components in your projects, please keep yourself updated with the changes. We haven't yet even arrived at code of conduct or guidelines. The documentation is almost non-existent for the components. Having said that, we can't live without this library..!
- The components here are built from scratch
- We (@betalectic)[https://twitter.com/betalectic] advocate reusability and abstraction (mostly for fun apart from all the reasons)
- The applications we build have drastically different UIs, that means we can't pick one "design" based library and stick to that "look"
- But, the functionality is common across the applications. So, we wanted a component library which doesn't come in our way when it comes to styling
- And almost all the libraries we explored, advocate "design guidelines" more than functionality of the components
- The first reason why we did this is to abstract functionality! And at the same time, give ourselves a change the look/feel drastically. That's why we have four ways to style our components.
- To Places for sure
- We don't know which all places, but we forsee that this library is not going to be just about components, but also about utilities like BetaForm hook (which you will love!), Form Builder (upcoming) and some abstractions which might sound like magic (but they are not for sure)
This repo consists of two packages:
- apps/storybook
- This is used heavily in local development to view/test components as a component is being developed
- packages/react
- This contains all the utils/components and styles
Follow these steps to run the code and start development:
- Run
yarn install
at root - Run
yarn sb
at root -> will run storybook - Run
yarn build:watch
-> will build the react package - Create a branch for yourself
- Carry on with your development
- Once you are done with development, raise a PR
- Run
yarn changeset
-> Generate your changelogs - Push to Github
- Github Action Workflow will handle from there on
Run git push --follow-tags
for all tags to be pushed to Github
- https://leerob.io/blog/turborepo-design-system-monorepo
- https://github.com/LukasBombach/tree-shakable-component-library
@reusejs/react is freely distributable under the terms of the MIT license.