@nataly
I have been struggling with my Livewire crud for a some months. Maybe I am dumb, Idk.
You’re not dumb and don’t beat yourself up when you get stuck, it’s all part of the process. Programming can be difficult, everyone encounters issues at some point in time. You should try to avoid allowing moments where you’re really stuck from overwhelming you to the point you become frustrated and want to give up (easier said than done though). Don’t forget that even the professionals and teachers make mistakes and get stuck. For example if you watch the Livewire Screencasts, Caleb makes a few mistakes and just makes a joke about it.
If I don’t know anything, I am trying to learn it as soon as possible. That’s why I can’t sleep, I keep asking at the forums.
Don’t overwhelm yourself. This might be by setting yourself too many goals, trying to learn many new things at once or setting unrealistic expectations of yourself. Not sleeping will not be helping either as you’ll be feeling mentally and physically drained which will reduce your mood and productivity. Sleep is an important part of your routine as the process of sleeping clears out chemicals that build up in your brain during the day.
Some advice that I find works for me. If you are struggling with something and can feel yourself becoming overly frustrated either at yourself or at the problem, take some time away. Counter that negativity with something positive, this could be time with friends/family, watching a TV show, playing a computer game, going for some exercise or even tackling another feature within your project. Just do something that you enjoy. The act of achieving something releases endorphins which make you feel good. Feeling stuck or lost constantly can quickly overwhelm you, so it is important to do something positive to keep your spirits up and maintain motivation.
You will often find that if you return to a problem after taking time away to clear your head, you’ll come up with a solution. As soon as you feel yourself becoming overly frustrated, take a break.
Yesterday I have bought the lessons from Caleb. He is using laravel 7 and Livewire 1. I can’t follow him, cuz his solutions do not work on laravel 8 and Livewire 2. I am too tired and exhausted for now to invent a wheel and correct issues.
Don’t forget you get access to a private Git repository with all the source code when you sponsor the Livewire project. The code in the repo uses Laravel 8 and Livewire 2.
Anyway I like Livewire. It’s a cool thing, that’s why I was trying to keep it in my admin dashboard. A whole big admin dashboard is built on Livewire… I have spent a lot of time for this.
Livewire is very good but remember, it might not always be the best tool for the job. I’ve not made any full page components yet, but I am having great success using Livewire for building small self contained components.
Keep things simple to start with, don’t add too much complexity. Set yourself small achievable targets, write them down on some paper and cross them off as you do them. This will make you feel like you are progressing and help you stay motivated.
Have someone been in such a trouble?
Yes, anyone who is pushing their limits has been in your position at some point. I really like the proverb He who makes no mistakes makes nothing. Point being, making mistakes and getting stuck is how you grow and develop both professionally and personally. Don’t be afraid or ashamed of being stuck. Keep trying new things, keep tinkering, keeping watching videos and reading articles but be realistic to yourself. Don’t try to recreate Facebook or Amazon overnight.
Not programming related but hopefully helpful. Very successful people have made many mistakes. Richard Branson, Bill Gates, Steve Jobs, Elon Musk, Jeff Bezos (to name a few people) have all had failures in their lives but they don’t allow those failures to prevent them from moving forward.