Skip to content

Check the Inertia props; vendor react-icon-browser 6217b2b - #138

Merged
imanimanyara merged 2 commits into
mainfrom
fix/inertia-props-guard
Nov 5, 2026
Merged

imanimanyara merged 2 commits into
mainfrom
fix/inertia-props-guard

Conversation

@imanimanyara

Copy link
Copy Markdown
Contributor

Summary

  • F-15. snapshotFromProps replaces page.props as unknown as Partial<BrowserSnapshot>: icons, pagination, packages and appliedFilters are checked for the shapes the browser reads, a partial reload keeps only what it carries, and a malformed prop rejects the visit. snapshotProps.test.ts (red first: missing export, 8 failures).
  • Re-vendor react-icon-browser at 6217b2b (react-icon-browser#211), built from a fresh clone: lazy locale catalogs (F-12), GridList library rows (F-20), declared window globals. Page first load (entry plus its static chunks): 1,411,528 B / 408,868 gzip before, 1,289,667 B / 380,135 gzip after.

Locally: 407 Pest tests, typecheck, ESLint, 115 Vitest tests, build:prod.

snapshotFromProps checks icons, pagination, packages and appliedFilters
for the shapes the browser reads, and a malformed prop rejects the visit.
Lazy locale catalogs, GridList library rows and declared window globals.
Copilot AI balanced review requested due to automatic review settings November 5, 2026 13:07

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@imanimanyara
imanimanyara merged commit 51ab8a5 into main Nov 5, 2026
15 checks passed
@imanimanyara
imanimanyara deleted the fix/inertia-props-guard branch November 6, 2026 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants