Skip to content

feat(intl): pass unique index to rich tag handlers to use as framework key - #187

Merged
dangreen merged 1 commit into
mainfrom
feat/intl-rich-tag-handler-index
Aug 3, 2026
Merged

feat(intl): pass unique index to rich tag handlers to use as framework key#187
dangreen merged 1 commit into
mainfrom
feat/intl-rich-tag-handler-index

Conversation

@dangreen

@dangreen dangreen commented Aug 3, 2026

Copy link
Copy Markdown
Member

Rich tag handlers now receive an unique index as the second argument, usable as a key for framework nodes (e.g. React), so consumers no longer need Children.toArray workarounds.

Also makes mapTags reentrant: nested calls from tag handlers no longer clobber the shared regex state of the outer call.

Built on top of #185.

…k key

Also make `mapTags` reentrant: nested calls from tag handlers no longer clobber the shared regex state of the outer call.
@codecov

codecov Bot commented Aug 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.96%. Comparing base (fa4fcb8) to head (4fc8007).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #187      +/-   ##
==========================================
+ Coverage   83.95%   83.96%   +0.01%     
==========================================
  Files         138      138              
  Lines        2985     2988       +3     
  Branches      564      564              
==========================================
+ Hits         2506     2509       +3     
  Misses        340      340              
  Partials      139      139              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dangreen
dangreen merged commit 5b4008b into main Aug 3, 2026
10 checks passed
@dangreen
dangreen deleted the feat/intl-rich-tag-handler-index branch August 3, 2026 14:07
@github-actions github-actions Bot mentioned this pull request Aug 3, 2026
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