Skip to content

Bugfix/error boundaries refactor#27

Merged
hexplus merged 30 commits intomainfrom
bugfix/error-boundaries-refactor
Apr 19, 2026
Merged

Bugfix/error boundaries refactor#27
hexplus merged 30 commits intomainfrom
bugfix/error-boundaries-refactor

Conversation

@hexplus
Copy link
Copy Markdown
Owner

@hexplus hexplus commented Apr 19, 2026

Description

Drop the nodes option from ErrorBoundary. Children now pass positionally, matching the tag-factory shorthand tag(props, children) — the same migration tag factories went through in 1.3.0. This removes the last nodes: prop from the public framework surface.

New signature:

ErrorBoundary(children: () => Element): Element;
ErrorBoundary(options: ErrorBoundaryOptions, children: () => Element): Element;

ErrorBoundaryProps is retained as a deprecated alias of ErrorBoundaryOptions so type imports keep compiling.

Related Issue

Closes #

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Checklist

  • I have read CONTRIBUTING.md
  • My code builds without errors
  • I have tested my changes
  • I have updated documentation if needed

hexplus added 30 commits March 28, 2026 15:11
@hexplus hexplus merged commit e2a0678 into main Apr 19, 2026
1 check passed
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.

1 participant