Elixir Wizards cover image

Sophie DeBenedetto on the Future of Elixir and LiveView

Elixir Wizards

00:00

How to Render Dynamic Content in Ivy

With function components, you can either make them totally static. Like every time I call this function component, it's going to render the hard coded HTML and content that I put in there. slots are basically the answer to rendering dynamic content into kind of placeholders sections within a function component. The idea is keep the state out of your components until it really makes sense do so. There should be a whole book just for component design probably. It's too long. She has fast.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app