Alt + Click on rendered JSX to open it’s source code in VSCode

 

install

yarn add babel-plugin-open-source --dev

 

usage

Add the plugin to your babel config.

// .babelrc
{
   "plugins": [
      "babel-plugin-open-source"
    ]
}

Docs for changing babel config: Nextjs | create react app

 

like it?

⭐ this repo

 

license

MIT © siddharthkp

GitHub

https://github.com/siddharthkp/babel-plugin-open-source