In my opinion it is essential to know the grammar.
Once you learn it, you incorporate it in your everyday speech and stop thinking about it. However if you have some doubts about the use of an expression (for example when writing a formal letter), you can always relay on the basic grammar rules.