Hacker News new | ask | show | jobs
by ggregoire 3529 days ago
If your editor is Visual Studio Code:

    Preferences > Workspace Settings (to target your React project) >

    {
      "files.associations": {
        "*.js": "javascriptreact"
      }
    }