git clone
this projectnpm install
to get all dependencies.webpack
to buildnode server.js
to host.- Open http://localhost:8000.
- You can view either
/with-worker
or/without-worker
. - Try typing quickly in the text box:
without-worker
should block the UI.with-worker
should perform smoothly.
andrew8088/react-web-worker-test
A demo app showing the performance difference doing virtual DOM reconciliation in a web worker.
JavaScript