Skip to content

Conversation

@Jacob-Roberts
Copy link

@Jacob-Roberts Jacob-Roberts commented Nov 15, 2025

This function is being exported and used downstream in some projects that rely on next.js 16's cache components.

This doesn't allow using Date.now() and requires the use of performance.now() instead.

Since this file already imports the helper for using performanceNow() let's move over to use that.

This closes #51.

Also, I've upstreamed this request: microsoft/vscode-textmate#258

@vercel
Copy link

vercel bot commented Nov 15, 2025

@Jacob-Roberts is attempting to deploy a commit to the codehike Team on Vercel.

A member of the Team first needs to authorize it.

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.

Usage of Date.now() causing issues with Next.js 16 CacheComponents

1 participant