Lately I've been finding it more efficient to just offload a lot of that to search queries and reference sites (i.e. StackExchange, MDN, DevDocs).
Rather than trying to remember how to do a hundred trivial tasks correctly I focus on the task at hand and keep the reference document up on the other page.
I find it more valuable to have up to date and practiced referencing skills than to memorize a few hundred utility functions.
As an added bonus there's an intrinsic passive search for new techniques and depreciated methods.
I think it useful when learning a new language or framework. When you are completely new you can spend 90% of the time just searching for trivial answers. It also takes longer to search because you don't know really how to frame the question. I find it more useful to go quickly go through a book or online course and try to memorize some of the basics from the book before starting. Not reviewing earlier topics results in very little retention.
Rather than trying to remember how to do a hundred trivial tasks correctly I focus on the task at hand and keep the reference document up on the other page.
I find it more valuable to have up to date and practiced referencing skills than to memorize a few hundred utility functions.
As an added bonus there's an intrinsic passive search for new techniques and depreciated methods.