react ReferenceError: regeneratorRuntime is not defined
// yarn add @babel/plugin-transform-runtime --dev
// yarn add @babel/runtime
//.babelrc
"plugins": [
["@babel/plugin-transform-runtime",
{
"regenerator": true
}
]
],