Comments (3)
@tajo any thoughts? Also how do you guys do development of the components? Do you have a package that runs a webpack server to test everything out?
from cf-ui.
-
Not at all. Having a single entry point
cf-ui
would not scale when you start counting modules in hundreds. Various components can exportButton
without need to use some prefixes asDropdownButton
,PaginationButton
. -
Yes!
-
You can place your application into the same
yarn workspace
as your UI kit. Everything gets symlinked. You can even take it a step further and alias all package imports through babel, so when you are deving, there is not difference between "main" code and UI kit code.
Also how do you guys do development of the components? Do you have a package that runs a webpack server to test everything out?
Yes, we have a special app that serves as a "canvas" for developing components in isolation. We also have a command to alias source of these components into our main application, so we can tweak it there as well.
from cf-ui.
Sweeeeet, thank you for answering all my questions! I've been using this setup for the past couple months now and am really enjoying it. I've even been able to publish and reuse some form/util packages between web and react native.
The separate packages for importing has been pivotal for keeping bundle sizes small when code splitting!
Thanks again for the inspiration
Cheers 🍻
Edit: for others curious I set up styleguidist for component development/documentation and I have my web app in the packages
dir as web
and it's a private package
from cf-ui.
Related Issues (20)
- Migrate `cf-component-progress` to fela.
- Migrate `cf-component-list` to fela. HOT 1
- `cf-component-label` throws an error HOT 3
- CHANGELOG for components? HOT 5
- Fixed HEX codes in `cf-style-const` HOT 15
- Fix snapshot tests to not to generate new class name hashes
- Performance metrics of smart CSS in JS HOT 4
- [Question] Query regarding the approach taken for styleguide HOT 4
- Rename cf-style-container HOT 2
- Convert cf-component-form back to React component classes HOT 1
- Icon sizes are wrong in cf-component-icon HOT 5
- Migrate `cf-component-link` to fela. HOT 1
- Migrate `cf-component-icon` to fela. HOT 2
- Missing cf-component-viewport and flex HOT 4
- Fix invalid propType error on input HOT 1
- Enforce commit messages in CI HOT 1
- Update README for all Fela components HOT 1
- Fix drop down top arrow HOT 1
- Will this repository become updated again? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cf-ui.