Hi folks,
I never thought to ask or look this up before (I mainly just went with whatever works), but when would you use require vs import? I noticed in some videos and code repositories some people use require and some use import. From the bits of pieces that I've gathered import seems like the newer standard, is that right?
I never thought to ask or look this up before (I mainly just went with whatever works), but when would you use require vs import? I noticed in some videos and code repositories some people use require and some use import. From the bits of pieces that I've gathered import seems like the newer standard, is that right?