Skip to content

upgrade: jsx-tokenizer package upgrade for Solid 2.0#864

Draft
davedbase wants to merge 1 commit intosolidjs-community:nextfrom
davedbase:update/v2/jsx-tokenizer
Draft

upgrade: jsx-tokenizer package upgrade for Solid 2.0#864
davedbase wants to merge 1 commit intosolidjs-community:nextfrom
davedbase:update/v2/jsx-tokenizer

Conversation

@davedbase
Copy link
Copy Markdown
Member

Migrate @solid-primitives/jsx-tokenizer to Solid.js v2.0 (beta.10). Updates peer dependencies to solid-js@^2.0.0-beta.10 and @solidjs/web@^2.0.0-beta.10. Moves isServer and JSX type imports to @solidjs/web, renames ResolvedJSXElementResolvedElement, and updates renderToString in the SSR test. Fixes the reactive children test for Solid 2.0's owned-scope write restriction by moving signal declaration outside createRoot and adding flush() before assertions. Also adds moduleName: "@solidjs/web" to the shared vitest config so JSX transforms resolve to @solidjs/web instead of the removed solid-js/web subpath — this is a necessary workspace-level fix that unblocks any package with .tsx test files. Bumps the package to v2.0.0.

@davedbase davedbase added this to the Solid 2.0 Migration milestone May 4, 2026
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 4, 2026

🦋 Changeset detected

Latest commit: 1700c98

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

This PR includes changesets to release 1 package
Name Type
@solid-primitives/jsx-tokenizer Major

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant