TanStack / router

🤖 Fully typesafe Router for React (and friends) w/ built-in caching, 1st class search-param APIs, client-side cache integration and isomorphic rendering.
https://tanstack.com/router
MIT License
8.28k stars 664 forks source link

Start - Server functions on stackblitz getting "Context is not available" error #2792

Open IHIutch opened 1 week ago

IHIutch commented 1 week ago

Which project does this relate to?

Start

Describe the bug

Using Start server functions on stackblitz trigger "Context is not available" error

(This example is just a fork of the current "Start Counter" example, as of 11/17/24)

Your Example Website or App

https://stackblitz.com/edit/github-kdyfk7

Steps to Reproduce the Bug or Issue

  1. Open example
  2. Click "add" button

Or

  1. Swap the commented/uncommented loaders

Expected behavior

Server functions run as if they were in a live or local environment

Screenshots or Videos

Image

Image

Platform

Additional context

No response

dotnize commented 1 week ago

likely related to #2633

SeanCassiere commented 5 days ago

The solution for #2633 is not applicable here, since this has to do with how Stackblitz handles its Node-like workers within the browser.