18: Follow functionality
In this lesson, you will work through Follow functionality as part of How to build a Twitter clone using Livewire 3 & Laravel reverb.
Caption excerpt: Alright, let's get started with doing some more work on the edit profile page. So inside our edit profile page, we got so far to allow a follow button in here . So for this follow button, we want to display depending on if you're following the user, follow all unfollow. Given that the last video inside the user trait, as followers, we created an ability to check if someone is following each other. So what we can go ahead and do now is essentially just do a small condition here instead. So this condition will then a...