emibcn / service-worker-updater

Avoid using wildcard imports JS-C1003
Anti-pattern
Minor
6 months ago6 months old
Explicitly import the specific method needed
 1import React from 'react'
 2import ReactDOM from 'react-dom'
 3import App from './App'
 4import * as serviceWorkerRegistration from './serviceWorkerRegistration' 5import { onServiceWorkerUpdate } from '@3m1/service-worker-updater'
 6
 7// Render the App