If you want to get better at problem-solving, you should practice regularly.
I can not recommend codewars.com enough. Having years of professional experience, I still get a lot of value from solving coding challenges from time to time.
2. Double-Down On Fundamentals
The reason why you might struggle at solving the more complex problems could be because you haven't mastered the basics. If you've never heard about a method, you have no chance of knowing how to use it...
3. Learn From Other Developers
When you get stuck on a problem, there’s no shame in checking how other people solved it or asking for help.
Make sure you understand the solution and try to solve it yourself before moving forward.
4. Learn From Open-Source Code
You can improve a lot by studying your favorite projects and libraries. I personally have learned so much about ReactJS just by studying github.com/mui codebase.
5. Googling Is Not Cheating.
Googling feels like cheating for many beginner developers, like you are supposed to know that, like others would know that... It's not about knowing everything. It's about being able to solve the problem. The results are what matters in the end.
6. Stop Copying Code From The Internet
Many developers blindly copy solutions without thinking. It gives you absolutely nothing. Try to think about the code you're about to copy, ask what and why then re-write it yourself. You will get so much more value.
7. Be Patient
Programming is hard. If it was easy, everyone would be doing it. It's one of the highest-paying professions.
Don't feel discouraged if you cannot solve certain problems on your own (yet). It takes time and practice, it's HARD, and it's OK.
That's it!
What would you add to this list?
What helped you improve?
If you found this thread helpful, leave a ❤️ to support me.
Follow @reactive_dude for more web development tips, freebies, and interesting insights.
When passing a boolean prop that is set to "true", you can simply declare a prop name without an explicit value.
Whether it's onClick, onChange, onFocus... it doesn't really matter what type of event handler it is. If you are not passing any additional arguments, you don't need to explicitly create an arrow function to call your handlers.