Spreadsheet Performance Optimization with Webpack

Quick answer: A Vue.js spreadsheet editor stays fast as it grows when webpack bundles its code and each editor module loads on demand. Bacancy built this for a US online spreadsheet editor with formulas, pivot tables and charts.

Outcomes deliveredDelivered May to September 2020 by 1 developer
35%

Shorter editor load time

Webpack bundling replaced CDN links

30%

Smaller initial code bundle

Dependencies managed in one build

18+

Future editors the framework can load

New editors load on demand

About the Client

The client runs a US-based online spreadsheet editor, similar to Excel, with formulas, tables, pivot tables, charts, collaboration and Excel import and export. Its code loaded from CDN links, and the team planned to add more than 18 editors without losing speed.

Bacancy Technology integrated the editor into a webpack build and rebuilt the spreadsheet and graph editors on a modular framework. New editors and resources now load on demand, so the product can grow while pages stay fast.

Industry
Information Technology
Location
United States
Team
1 developer
Timeline
May 2020 to September 2020
Project size
Non-disclosable

Challenges & Solutions

Our Vue.js developer solved two build and performance problems that blocked the product roadmap.

Challenge 1: Moving the editor from CDN links to a webpack build

The client needed the spreadsheet editor code in webpack, but the vendor documentation only covered a CDN link.

Solution: Our developer brought the required resources into the project and configured webpack to bundle them. Dependencies are now managed in one build, which improved performance and cut load times.

Challenge 2: Keeping performance high as more editors are added

The client plans to add more than 18 editors and needed the product to stay fast as it grows.

Solution: Our developer rebuilt the spreadsheet and graph editors on a modular Vue.js framework that loads new editors and resources dynamically. Each editor loads only when a user needs it, so new editors do not slow the rest of the product.

How the Platform Works

Vue.js online spreadsheet editor with webpack bundling

Core Features

  • Cell formatting and stylingCSS styling, conditional formatting and DOM-based cell segmentation.
  • Advanced formula supportBuilt-in, remote and custom formula expressions for diverse calculations.
  • Table, filter and sort toolsFiltering and sorting on optimized algorithms and data structures.
  • Fast editing shortcutsUndo, redo, cut, copy, paste, hotkeys and a format painter.
  • Data entry helpersDrag and drop, fill handle, find and replace, and data verification.
  • Pivot tables and collaborationPivot tables, charts and shared editing with Excel import and export.

The stack behind the editor

Frontend
Vue.js | TypeScript
Build and bundling
Webpack

Ready to start?

2500+ projects delivered by Bacancy Technology

Get access to an experienced team of developers and engineers from Bacancy Technology, handpicked to ace your goals. Kickstart within 48 hours, no-risk trial.

Book A 30 Min Call
14+Years of business experience
1458+Happy customers
30+Countries with happy customers
1050+Agile-enabled employees

More Case Studies

View All Case Studies