Re:Base Web, Uber’s New Design System for Building Websites ...
by TomMarius on Friday April 26, 2019 @02:33PM
(#19760549)
Renderless? What are these good for?
[ Parent
| on HN ]
Re:Base Web, Uber’s New Design System for Building Websites ...
by rymohr on Friday April 26, 2019 @02:59PM
(#19760771)
They're like higher-order components on steroids that handle all the heavy lifting of the logic for the component (including what _should_ be rendered) but leave the actual rendering up to you (DOM structure, style, etc).
Here's a Vue example: https://banshee-ui.github.io/docs/guide/#why-banshee