We should find a way to test this again. Using a global widget created in the test file does not trigger the same error. I think the feature the test tests should be extended: It should test if the widget used has the same kernel_context as the active one.
The patch test in https://github.com/widgetti/solara/pull/494 was disabled because the themes widget is not shared anymore.
We should find a way to test this again. Using a global widget created in the test file does not trigger the same error. I think the feature the test tests should be extended: It should test if the widget used has the same kernel_context as the active one.