Created by: pmmmwh
This fixes #9446 (closed) - basically I've added react-refresh
to the starting templates so that the peerDependency
from react-refresh-webpack-plugin
would properly resolve in stricter module systems (e.g. Yarn 2 and PnP). It is already a dependency of react-scripts
but that does not suffice because imports to react-refresh/runtime
will be injected to the users' bundle.