-
-
Notifications
You must be signed in to change notification settings - Fork 97
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
Add auto pkg & run react runtimes tests against auto & transform runtimes #443
Conversation
🦋 Changeset detectedLatest commit: 907e043 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
✅ Deploy Preview for preact-signals-demo ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Size Change: -470 B (-1%) Total Size: 83.6 kB
ℹ️ View Unchanged
|
import { useSignal, useComputed, useSignalEffect } from "../runtime"; | ||
import { installAutoSignalTracking } from "../runtime/src/auto"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This double import caused some duplicate code in the final bundle. Combining them is what caused this PR to reduce the overall bundle size shown in the size-bot comment.
Add auto package (not exported yet though) in preparation for next major release that will make auto runtime opt-in
Run
@preact/signals-react
test suite against test files using the auto and transform runtimes to verify each runtime's behavior.