Laravel News Podcast cover image

Filament, stormy pints, and sushi

Laravel News Podcast

00:00

How to Test a Single File Component in View

view reacts probably a little bit more split out, maybe don't cry me out that I haven't used it. But certainly view was typically you'd put your all of your script at the top. She's effectively the equivalent of your PHP class here. And then all of your, your job, oh, you're sorry, your presentation. So you HTML at the bottom. The functional API is nice. I think the class based approach is a little bit nicer still. It kind of contains it encapsulates everything, it kind of keeps everything together.

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