Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

what if base ui was just html

22,830 Aufrufe • vor 1 Monat •via X (Twitter)

21 Kommentare

Profilbild von Adam Wathan
Adam Wathanvor 1 Monat

We did this for Tailwind Plus, can recommend 💯

Profilbild von Colm Tuite
Colm Tuitevor 1 Monat

did you ever benchmark it vs. the react lib?

Profilbild von Adam Wathan
Adam Wathanvor 1 Monat

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

Profilbild von Benny Schudel
Benny Schudelvor 1 Monat

That would be so much better than react.

Profilbild von Haz
Hazvor 1 Monat

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 1 Monat

yeah top-layer is no good

Profilbild von David Luhr
David Luhrvor 1 Monat

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 1 Monat

base ui for Astro 🥹

Profilbild von Abdelrahman
Abdelrahmanvor 1 Monat

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 1 Monat

do it! ssr is pretty good

Profilbild von João Vitor
João Vitorvor 1 Monat

Yes!! Please fix the web.

Profilbild von Niapya(互 fo 版)
Niapya(互 fo 版)vor 1 Monat

I didnt use any client js in my blog

Profilbild von Arne Wiese
Arne Wiesevor 1 Monat

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

Profilbild von Petar Zayakov
Petar Zayakovvor 1 Monat

That would be cool

Profilbild von Sakil Sazzad Joy
Sakil Sazzad Joyvor 1 Monat

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

Profilbild von Colm Tuite
Colm Tuitevor 1 Monat

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

Profilbild von 0x70hn
0x70hnvor 1 Monat

looks great! does it have good browser support?

Profilbild von Colm Tuite
Colm Tuitevor 1 Monat

it's ok

Profilbild von Alexandre
Alexandrevor 1 Monat

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

Profilbild von Colm Tuite
Colm Tuitevor 1 Monat

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 1 Monat

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