Alt + Click on rendered JSX to open it's source code in VSCode
yarn add babel-plugin-open-source --dev
Add the plugin to your babel config.
// .babelrc
{
"plugins": [
"babel-plugin-open-source"
]
}
Docs for changing babel config: Nextjs | create react app
⭐ this repo
MIT © siddharthkp