正在加载视频...

视频加载失败

Introducing Zeego 2: dropdown & context menus that work everywhere → Pure Radix UI on Web → react-native-web dependency dropped → Works with Tailwind, shadcn UI, pure CSS, etc. → Native menu on iOS & Android → Works in web-only codebases with zero config yarn add zeego

46,219 次观看 • 1 年前 •via X (Twitter)

10 条评论

Fernando Rojo 的头像
Fernando Rojo1 年前

One subtle change is that Zeego is now web-first. Specifically: no more web.tsx files. Web is always the default. React Native's bundler will always look for platform extensions; web ones won't. Universal libraries should go web-first to simplify setup. (I've come full circle)

Fernando Rojo 的头像
Fernando Rojo1 年前

Dropping react-native-web means dropping its prebuilt styles. Zeego for is now 100% unstyled, meaning there are some breaking changes. It should only take a minute to address them, and I tried to be as exhaustive to document every case that might break.

Fernando Rojo 的头像
Fernando Rojo1 年前

Check out the release notes to see the migration guide. yarn add zeego

Fernando Rojo 的头像
Fernando Rojo1 年前

and learn about zeego →

Frank Calise 的头像
Frank Calise1 年前

@shadcn Can't wait to try this out! Nice work. Are all the deps new arch compatible? Wasn't sure about ios utilities

Fernando Rojo 的头像
Fernando Rojo1 年前

@shadcn Not yet, but I recommend sponsoring @GoDominic on GitHub as he tries to make this a reality. It’s a hard problem but it looks like he’s been making good progress

Fernando Rojo 的头像
Fernando Rojo1 年前

Zeego 2.0.3 fixes common typescript issues people reported

Hirbod 的头像
Hirbod1 年前

@shadcn Amazing work, can't wait to upgrade!

Kim Chouard / KIMIK 的头像
Kim Chouard / KIMIK1 年前

@shadcn This is 🔥🔥🔥 Being web-first on top of it is the 🍒 on the 🎂👌

Gunnar Torfi 的头像
Gunnar Torfi1 年前

@shadcn Congrats on the release, this is huge! 🔥

相关视频