Performance Gains
React Data Grid
Files of interest
1) deebo-grid/src/services/DataGridService.js
2) deebo-grid/worker.js
1) deebo-grid/src/services/DataGridService.js
2) deebo-grid/worker.js
Enhanced Performance with Web Workers
Find the following code snippet in the file of interest:
This is the URL for the web worker script. The React data grid uses this web worker to enhance performance by offloading heavy computations to a separate thread. If you want to customize the worker, you can modify the code in the worker.js file (2nd file of interest above). Make sure your project references the url properly.
workerUrl = "http://127.0.0.1:8080/worker.js"This is the URL for the web worker script. The React data grid uses this web worker to enhance performance by offloading heavy computations to a separate thread. If you want to customize the worker, you can modify the code in the worker.js file (2nd file of interest above). Make sure your project references the url properly.