just like that vs thereby

just like that

adv
  • In that manner. 

  • Suddenly and unexpectedly; without warning. 

thereby

adv
  • By it; by that; by that means, or as a consequence of that. 

How often have the words just like that and thereby occurred in a corpus of books? (source: Google Ngram Viewer )