Useful snippet for setting all language definition of JS files under the src directory to be javascriptreact in VS Code.
Some extensions you may only want to run when the language is javascriptreact.
I place it in ${workspace}/.vscode/settings.json for each project.