Загрузка видео...

Не удалось загрузить видео

На главную

what if base ui was just html

22,848 просмотров • 1 месяц назад •via X (Twitter)

Комментарии: 21

Фото профиля Adam Wathan
Adam Wathan1 месяц назад

We did this for Tailwind Plus, can recommend 💯

Фото профиля Colm Tuite
Colm Tuite1 месяц назад

did you ever benchmark it vs. the react lib?

Фото профиля Adam Wathan
Adam Wathan1 месяц назад

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

Фото профиля Benny Schudel
Benny Schudel1 месяц назад

That would be so much better than react.

Фото профиля Haz
Haz1 месяц назад

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

Фото профиля Colm Tuite
Colm Tuite1 месяц назад

yeah top-layer is no good

Фото профиля David Luhr
David Luhr1 месяц назад

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.

Фото профиля Teo Decu
Teo Decu1 месяц назад

base ui for Astro 🥹

Фото профиля Abdelrahman
Abdelrahman1 месяц назад

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

Фото профиля Colm Tuite
Colm Tuite1 месяц назад

do it! ssr is pretty good

Фото профиля João Vitor
João Vitor1 месяц назад

Yes!! Please fix the web.

Фото профиля Niapya(互 fo 版)
Niapya(互 fo 版)1 месяц назад

I didnt use any client js in my blog

Фото профиля Arne Wiese
Arne Wiese1 месяц назад

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

Фото профиля Petar Zayakov
Petar Zayakov1 месяц назад

That would be cool

Фото профиля Sakil Sazzad Joy
Sakil Sazzad Joy1 месяц назад

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

Фото профиля Colm Tuite
Colm Tuite1 месяц назад

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

Фото профиля 0x70hn
0x70hn1 месяц назад

looks great! does it have good browser support?

Фото профиля Colm Tuite
Colm Tuite1 месяц назад

it's ok

Фото профиля Alexandre
Alexandre1 месяц назад

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

Фото профиля Colm Tuite
Colm Tuite1 месяц назад

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.

Фото профиля Alexandre
Alexandre1 месяц назад

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.

Похожие видео