examples: modernize Handsontable 18 examples#40
Conversation
| { | ||
| data: 4, | ||
| type: 'date', | ||
| dateFormat: 'DD/MM/YYYY', |
There was a problem hiding this comment.
Date format as string is no longer supported.
| "typescript": "5.2.2" | ||
| "@handsontable/react-wrapper": "18.0.0", | ||
| "@tailwindcss/postcss": "^4.3.2", | ||
| "handsontable": "18.0.0", |
There was a problem hiding this comment.
It's ok that the HoT version is hardcoded here?
There was a problem hiding this comment.
The sandbox runner does override this when running the specified version anyway, and for local development fixed version is more predictable I think. Some examples had latest and some were already pinned, so I unified to the pinned version
There was a problem hiding this comment.
I would probably be in favor of using the word "latest," because a pinned version might always give developers the impression that it's stale, out of date, or a forgotten line of code. WDYT?
There was a problem hiding this comment.
Ok, I can change to the latest
Summary
Test plan
pnpm installand production builds for the updated examplesNotes
Note
Low Risk
Demo-only example and runner config changes with no production app or security surface; main risk is example build breakage if a stack combo was missed in CI.
Overview
Updates the Handsontable 18 example suite and demo runner so installs, builds, and sandboxes stay aligned with current framework stacks (Next 16 / React 19, Angular 22, Astro 7, Vite 8, pnpm).
For Angular, the sandbox drops
legacy-peer-depsfrom.npmrc, points global styles at minified Handsontable CSS, and raises production bundle budgets (~1.75mb warn / 2mb error) song buildsucceeds with the larger HT 18 bundle. Across examples, dependencies and tooling are bumped, CSS imports standardized on.min.css, and runner bakedpackage.json/ container catalog metadata are regenerated for Tier-2 images.Remix intentionally stays on React 18 because Remix 2 does not support React 19.
Reviewed by Cursor Bugbot for commit a73d113. Bugbot is set up for automated code reviews on this repo. Configure here.