Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support @preact/signals-react 2 #59

Merged
merged 6 commits into from
Jan 11, 2024
Merged

Conversation

luisherranz
Copy link
Owner

@luisherranz luisherranz commented Jan 11, 2024

What

This PR adds support for @preact/signals-react v2.

Why

Because the Preact team has changed how @preact/signals-react is integrated with React and released a new major version.

How

By updating the tests, readme, peer dependencies, and useDeepSignal.

@luisherranz luisherranz self-assigned this Jan 11, 2024
@luisherranz luisherranz linked an issue Jan 11, 2024 that may be closed by this pull request
Copy link
Contributor

github-actions bot commented Jan 11, 2024

Size Change: +34 B (+1%)

Total Size: 6.23 kB

Filename Size Change
packages/deepsignal/react/dist/deepsignal-react.js 1.07 kB +15 B (+1%)
packages/deepsignal/react/dist/deepsignal-react.mjs 1.06 kB +19 B (+2%)
ℹ️ View Unchanged
Filename Size
packages/deepsignal/core/dist/deepsignal-core.js 1.01 kB
packages/deepsignal/core/dist/deepsignal-core.mjs 1 kB
packages/deepsignal/dist/deepsignal.js 1.05 kB
packages/deepsignal/dist/deepsignal.mjs 1.04 kB

compressed-size-action

@luisherranz luisherranz merged commit 7cf94a9 into main Jan 11, 2024
3 checks passed
@luisherranz luisherranz deleted the support-preact-signals-react-2 branch January 11, 2024 18:26
@github-actions github-actions bot mentioned this pull request Jan 11, 2024
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.

@preact/signals-react v2.0.0 integration
1 participant