Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

what if base ui was just html

22,791 Aufrufe • vor 26 Tagen •via X (Twitter)

21 Kommentare

Profilbild von Adam Wathan
Adam Wathanvor 26 Tagen

We did this for Tailwind Plus, can recommend 💯

Profilbild von Colm Tuite
Colm Tuitevor 26 Tagen

did you ever benchmark it vs. the react lib?

Profilbild von Adam Wathan
Adam Wathanvor 26 Tagen

Not sure if we ever really did that, @malfaitrobin?

Profilbild von Benny Schudel
Benny Schudelvor 26 Tagen

That would be so much better than react.

Profilbild von Haz
Hazvor 26 Tagen

That works for simple use cases. For more complex ones, we need more control over the native top layer.

Profilbild von Colm Tuite
Colm Tuitevor 26 Tagen

yeah top-layer is no good

Profilbild von David Luhr
David Luhrvor 26 Tagen

This would be incredibly useful. My personal projects are almost always vanilla HTML, CSS, and JS. I've built many menus, custom dialogs, even full file trees from scratch, but having Base UI as a foundation would be very helpful.

Profilbild von Teo Decu
Teo Decuvor 26 Tagen

base ui for Astro 🥹

Profilbild von Abdelrahman
Abdelrahmanvor 26 Tagen

I started something similar before, but paused it after hitting some SSR issues. This makes me want to pick it up again

Profilbild von Colm Tuite
Colm Tuitevor 26 Tagen

do it! ssr is pretty good

Profilbild von João Vitor
João Vitorvor 26 Tagen

Yes!! Please fix the web.

Profilbild von Niapya(互 fo 版)
Niapya(互 fo 版)vor 26 Tagen

I didnt use any client js in my blog

Profilbild von Arne Wiese
Arne Wiesevor 25 Tagen

As someone who builds public pages with @astrodotbuild I'd use it right away!

Profilbild von Petar Zayakov
Petar Zayakovvor 26 Tagen

That would be cool

Profilbild von Sakil Sazzad Joy
Sakil Sazzad Joyvor 26 Tagen

what if base ui was framework agnostic? even worked with vanilla html and js?

Profilbild von Colm Tuite
Colm Tuitevor 25 Tagen

that's that you're looking at. this is plain html and js.

Profilbild von 0x70hn
0x70hnvor 26 Tagen

looks great! does it have good browser support?

Profilbild von Colm Tuite
Colm Tuitevor 25 Tagen

it's ok

Profilbild von Alexandre
Alexandrevor 25 Tagen

will it cancel all the work done for react popup implementation in base ui ?

Profilbild von Colm Tuite
Colm Tuitevor 25 Tagen

no. native popover api + anchor positioning don't work. they're no good. i want them to work, and i want to replace base ui code with them, but they're not close to good enough currently, unfortunately.

Profilbild von Alexandre
Alexandrevor 25 Tagen

For the date pickers, I also noticed that the calendar comp was removed and both pull requests were closed. As I understand it, that was an experiment. Do you plan to base them on the Temporal API? That could greatly simplify the implementation while also making it more robust.

Ähnliche Videos