Skip to content

Refactor to client-side architecture with WebGPU and add pre-commit hooks

srilatha bandari requested to merge feat/react into develop

Overview

This merge request transitions the application to a fully client-side architecture leveraging WebGPU for GPU-accelerated processing. It also introduces pre-commit hooks to enforce consistent code quality and formatting standards across the codebase.

Key Changes

  • Refactored core application logic to execute entirely on the client side
  • Integrated WebGPU for high-performance, GPU-accelerated computation
  • Reduced reliance on backend services and server-side processing
  • Added Husky and lint-staged as development dependencies
  • Configured pre-commit hooks to run lint-staged on staged files
  • Integrated ESLint and Prettier for automated linting and formatting
  • Ensured code quality checks are applied only to staged files during commits

Screenshots

image image

Impact

  • Improved application performance and reduced latency
  • Minimized backend dependency, enabling better scalability
  • Enforced consistent coding standards across contributors
  • Prevented commits containing linting or formatting issues

Testing & Validation

  • Verified end-to-end application functionality post-migration
  • Evaluated performance improvements with WebGPU integration
  • Confirmed pre-commit hooks execute correctly during commit operations
  • Validated that commits are blocked when linting errors are detected

Additional Notes

  • WebGPU support is browser-dependent; fallback handling is in place
  • Pre-commit hooks can be extended to include test execution in future iterations

closes #7 (closed)

Merge request reports

Loading