It's out of context learning, which isn't always a bad thing in small doses, but shouldn't be the main method of learning a language at any point in your studies, imo. I believe you should try to get words, grammar, etc in context. For example, read a paragraph where you encounter a few new words. If you find it helpful, as many people do especially in the early stages, you can then take these new words and memorize and/or review them. But I wouldn't advise spending most of your time doing this, and I wouldn't advise drilling lists of words and sentences that you've never encountered in context.