I would like to understand why I have to use @import instead of url to use google fonts in react app.
I've tried to use url link in html head, but the app was unable to use the google fonts.
And I found this solution on Stackoverflow that I have to use @import to solve this issue, but I was wondering why.
link: How to use Google fonts in React.js?
can you please explain why the link in html head didn't work?