Conversation
✅ Deploy Preview for preact-signals-demo ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
🦋 Changeset detectedLatest commit: e730ce1 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 |
|
Size Change: +16.8 kB (+10.57%) Total Size: 176 kB
ℹ️ View Unchanged
|
| endpointBase: string; | ||
| } | ||
|
|
||
| export function createClientModuleCode( |
There was a problem hiding this comment.
Is it possible to read this file in from disk? So we can get type checking, linting, etc at dev time.
Like read an actual TS file then replace some magic strings with the defaults
There was a problem hiding this comment.
I prefer to do this separately as it would be a large change where we need to transpile ts of this
Clear active sessions on reset and align tests/docs with the remaining event sources after removing console capture.
Keep active sessions alive when clearing buffered events so clients can reuse existing filters across debugging runs.
Avoid exact session object equality so production builds do not fail on createdAt and updatedAt variability across responses.
Load the React and Preact transform packages on demand so projects only need the one they use. Document the optional setup and keep TypeScript aligned with the dynamic import support.
bd81371 to
6017b62
Compare
.changeset/thin-moles-smile.md
Outdated
| @@ -0,0 +1,5 @@ | |||
| --- | |||
| "@preact/signals-vite-plugin": minor | |||
There was a problem hiding this comment.
I think this will need a tweak now, I imagine it'll fail to find this when publishing?
There was a problem hiding this comment.
It will initially fail, I will manually publish 0.0.0 and then the minor version will do 0.1.0 - I do have to adjust the package name indeed 😅 I naively just did the package.json
This PR adds a new vite plugin which does several things
Relates to https://x.com/JoviDeC/status/2031404460178833693
I want to apologize in advance for the huge amount of code, I could not have done this in the time it took without the help of GPT5.4
One open question is how to distribute a skill like this.
For the curious, I wrote about this flow in https://jovidecroock.com/blog/llm-signals-debugging