Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
miksuv
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
Interactive Playground for Base Web Component Library
(baseweb.design)
1 points
by
miksuv
6y ago
|
0 comments
2.
▲
VS Code Extension for Base Web and React View Code Snippets
(baseweb.design)
2 points
by
miksuv
7y ago
|
0 comments
3.
▲
React View, an Interactive Playground for Your Components
(baseweb.design)
3 points
by
miksuv
7y ago
|
0 comments
4.
▲
by
miksuv
7y ago
Yep. React was adopted a long time ago and it is also now the "industry winner", so no complaining there. Styletron is also older - created more than two years ago. However, CSS in JS is more controversial and there are some other
5.
▲
by
miksuv
7y ago
That's just partly true. From the Base Web website: "Base Web is a set of reusable React components that implements the Base Web design language and can be used in two different ways: To build an application that fully adopts the
6.
▲
by
miksuv
7y ago
We currently use https://screener.io/ for Base Web itself and working on an app that should automatically crawl all our web apps, analyze them and provide insights into how exactly our components are being used. It should b
7.
▲
by
miksuv
7y ago
Right. We do exactly that as well. You can import all our styled subcomponents separately and then plug them back into render props. We just call it a bit differently - it's the "overrides" object prop and not a top level ren
8.
▲
by
miksuv
7y ago
I get this concern and I used to have a very similar feeling about it. Uber had an older React component library that was more locked down in a way you pretty much described. Number one complain was "not easy to customize" and tha
9.
▲
by
miksuv
7y ago
https://gist.github.com/tajo/a84d96f248d454d1226e12bb07c8157...
10.
▲
by
miksuv
7y ago
What you describe in the first paragraph is exactly what you can do with overrides as well. Again, it gives you access to any subcomponent in the component and you can replace it with your own component. Note, that you can replace a single
11.
▲
by
miksuv
7y ago
I recommend to read through this to better understand the Base Web overrides: https://baseweb.design/theming/understanding-overrides/ It actually does everything you propose. For render props, the BaseWeb API is n
12.
▲
by
miksuv
7y ago
Are you talking about the theme? Can you be more specific?
13.
▲
by
miksuv
7y ago
It does use Flow.