TypeScript 3.8 adds a new syntax for type only imports and exports. In the VIT world, I've never had to think about it twice. You can't do an if statement to show and hide both the open and close like you would in PHP. The react wrapped component might have a lot of props that can get tucked away into a function component defined in a loop. It's been a while since I've been outside of this territory.

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