web-dev-server-hmr-react
v0.3.0
Published
web-dev-server HMR plugin for React
Downloads
3
Readme
web-dev-server-hmr-react
Description
web-dev-server-hmr-react
is plugin on web-dev-server
to implement HMR for react.
How use
import { startDevServer } from '@web/dev-server'
import { hmrReact } from 'web-dev-server-hmr-react'
(async () => {
await startDevServer({
config: {
open: true,
plugins: [
...await hmrReact(),
],
},
})
})()