Skip to content

Add support for React 19.x#1822

Merged
williamlark merged 20 commits intomasterfrom
react-19-support
Jul 16, 2025
Merged

Add support for React 19.x#1822
williamlark merged 20 commits intomasterfrom
react-19-support

Conversation

@williamlark
Copy link
Copy Markdown
Contributor

@williamlark williamlark commented Jul 1, 2025

The Braid API has been tested to verify React 19 support, and as such the peer dependancies have been updated. No React 19 APIs are being used yet so React 18 is still supported and no breaking changes are expected when updating, hence the release as a patch.

Notable changes:

  • react-router-dom > react-router
  • isFragment.ts was pulled out from react-is to support both react 18 and 19.
  • Markdown.tsx has had a large refactor to work with react-markdown@10 (updated from v5).

@williamlark williamlark requested a review from a team as a code owner July 1, 2025 01:35
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Jul 1, 2025

🦋 Changeset detected

Latest commit: 5cbc6e2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
braid-design-system Patch
@braid-design-system/docs-ui Patch
@braid-design-system/codemod Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@williamlark williamlark marked this pull request as draft July 1, 2025 01:38
Comment thread packages/braid-design-system/src/lib/utils/isFragment.ts
# Conflicts:
#	package.json
#	packages/braid-design-system/package.json
#	packages/braid-design-system/src/lib/stories/all.stories.tsx
#	pnpm-lock.yaml
#	site/package.json
@williamlark williamlark marked this pull request as ready for review July 14, 2025 06:56
Comment thread site/src/App/Markdown/Markdown.tsx
Comment thread packages/docs-ui/package.json Outdated
Comment thread packages/generate-component-docs/src/__snapshots__/contract.test.ts.snap Outdated
Comment thread packages/generate-component-docs/src/generate.ts Outdated
Comment thread site/package.json Outdated
Comment thread packages/braid-design-system/package.json Outdated
Comment thread .changeset/small-lions-fold.md Outdated
Comment thread packages/braid-design-system/src/lib/utils/isFragment.ts Outdated
Comment thread site/src/App/Markdown/Markdown.tsx Outdated
Comment thread site/src/App/Markdown/Markdown.tsx Outdated
Comment thread site/src/App/Markdown/Markdown.tsx
@williamlark williamlark requested review from askoufis and michaeltaranto and removed request for askoufis July 15, 2025 02:13
# Conflicts:
#	pnpm-lock.yaml
@askoufis
Copy link
Copy Markdown
Contributor

askoufis commented Jul 15, 2025

Seems like ol markdown rendering is broken on the preview site.

Production site.
image

Preview site.
image

It seem to be correctly rendering ols are actual ordered lists, but there are extra list elements for some reason.

Copy link
Copy Markdown
Contributor

@askoufis askoufis left a comment

Choose a reason for hiding this comment

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

Release notes page is looking good 👍

Comment thread site/src/App/Markdown/Markdown.tsx Outdated
@williamlark williamlark merged commit 79bb475 into master Jul 16, 2025
6 checks passed
@williamlark williamlark deleted the react-19-support branch July 16, 2025 02:10
@seek-oss-ci seek-oss-ci mentioned this pull request Jul 16, 2025
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.

3 participants