DEV Community

Discussion on: Fast Refresh with Expo Web! 🏃🏻‍♂️🔄

Collapse
 
raarts profile image
Ron Arts

This was the result for me (though I didn't do this on a new project, but an existing one):

Invalid options object. React Refresh Plugin has been initialized using an options object that does not match the API schema.

  • options has an unknown property 'disableRefreshCheck'. These properties are valid: object { exclude?, forceEnable?, include?, overlay?, useLegacyWDSSockets? }
Collapse
 
younes0 profile image
Younes Bieche • Edited

remove disableRefreshCheck (deprecated option)

if (env.mode === 'development') {
  config.plugins.push(new ReactRefreshWebpackPlugin())
}
Enter fullscreen mode Exit fullscreen mode