How can I pass data to my layout? I can only pass variables to my component, I need to pass a variable to my layout. To show a navbar when it's true and hide when it's false.
Martin, thank you for your videos. Very well presented and explained. Its nice to see someone focusing on Liveweire 3. Can't wait to see more. Livewire multiple components, nested components, modals. You can do series on Tailwind as well. Only small thing, if you have some more complicated Tailwind class definitions, ti will be worth to have it somewhere in repository or some file to each video, for someone who wants to achieve exactly same look as you have in your examples. Keep it up.
Thank you for watching Miroslav. Will be uploading more soon, since v3 is still in beta I been waiting a little bit to cover nested components, since there is a small bug with it but I will be releasing the video soon. Regarding the code I will for sure be adding it in the upcoming videos and also update the older videos once I have the repository up. Thank you for the feedback it will help me improve the channel 🙏.
Hello If I have a component such as comments under a post if I add a new comment it by default sends a post request but does the component comment which gets updated rerender in Livewire or since comments gets updated does it send a network request in V3.Thanks
Yes, by default livewire re renders the page after each request and displays the new changes. If you have nested components child components won't be re rendered by default but only if you have component nesting.