Skip to content

Migrate to native Temporal - #98

Open
WickyNilliams wants to merge 1 commit into
mainfrom
native-temporal
Open

Migrate to native Temporal#98
WickyNilliams wants to merge 1 commit into
mainfrom
native-temporal

Conversation

@WickyNilliams

Copy link
Copy Markdown
Owner

Now that Temporal has landed in Firefox, I wanted to see the effect of removing Cally's minimal Temporal polyfill and switching to the native implementation.

There were a few places where my implementation was incorrect, so had to fix those up. And typescript still doesn't have the types, so I fudged some global types.

But it works!

Before: min: 21.74 kB | gzip: 8.93 kB
After:  min: 20.75 kB | gzip: 8.56 kB

So it saves around 1kb minified, and 0.5kb gzip. Not a huge amount. But I want Cally to be as small as possible, so I'm happy with that

@WickyNilliams

Copy link
Copy Markdown
Owner Author

Tests failing is expecting since they run in Chrome and Temporal isn't available there yet

@WickyNilliams WickyNilliams changed the title Native temporal Migrate to native Temporal Jan 5, 2026
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.

1 participant