Skip to content

Uncaught (in promise) Error: useTheme must be used within a ThemeContextProvider - on devtools 0.4 #102

@kyjus25

Description

@kyjus25

TanStack Pacer version

0.15.3

Framework/Library version

Solid 1.9.10

Describe the bug and the steps to reproduce it

Re-open of #63 (but for Solid)

Opening the Pacer devtools results in the panel failing to display anything with an error in the console

import { pacerDevtoolsPlugin } from "@tanstack/solid-pacer-devtools";

<TanStackDevtools
  plugins={[
    pacerDevtoolsPlugin()
  ]}
/>

Reproduction

https://stackblitz.com/edit/solid-vite-template-uejgc1ws?file=src%2Fmain.jsx

Screenshots or Videos (Optional)

Image

Do you intend to try to help solve this bug with your own PR?

No, because I do not have time to dig into it

Terms & Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions