noone remembers everything. in that situation nearly all the people use this method:
google: “name of the technology” + cheat sheet.
my suggestion is that always look for good cheat sheets for what you are learning.
but you should always know the basics and what a spesific technology is able to do. what you can do and what you can’t do. then the question “how” comes in. then you use cheat sheets. but I think pro ppl of this business doesn’t use them %90 of the time.