I'm a React developer and for the most part am able to accomplish tickets assigned to me; however, what I struggle with is when I have a particular ticket that is heavily logic focused.
For example, recently I had to implement a multi date picker for a booking engine and between the many different cases for user interactions and date comparisons, I feel it took me way longer than it should have.
In order to optimize improvement in this area, would it be worth it to grind leet code style questions? or maybe codewars?
This is a really interesting question, and what I will say is that this is a natural part of software engineering growth. I went through a similar experience on Android - Basic rendering is easy, but things get tricky when there's a lot of different user flows and edge cases. I hope you're able to look back and feel proud of yourself once you're able to get these types of features able to work 😊
That being said, here are my tips to improve here:
Lastly, this isn't completely related to the question, but I recommend reading this Q&A on how to write great code faster as well: "How can I write great code faster?"