6min chapter

React Native Radio cover image

RNR 259 - Tamagui with Nate Wienert

React Native Radio

CHAPTER

How to Not De Optimize Tomagui

There's a couple rules basically one is spreading so like if you spread like dot dot dot props down onto a styled component that will deopt because it doesn't know what's coming in and the other thing is just any dynamic. You can kind of build things how you would normally build them with a few rules then have the compiler optimize it under the hood. There are trade-offs to using tomagui but they're not too bad as long as you avoid those sort of things. It does cost but it's not a huge cost once you add in react native and the full API set which is quite a quite a lot more.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode