Skip to content
Source
Sign inSign up
TanStack/devtools

Triggers R3F error on soft navigation #276

Openakhmadshin(GitHub profile, opens in a new tab) opened this issue 2 comments

TanStack Devtools version

v5.91.1

Framework/Library version

19.2.0

Describe the bug and the steps to reproduce it

  1. Click "/duck" link
  2. Click "/index" link
  3. Click "/duck" link
  4. Get error: R3F: Cannot set "data-tsd-source". Ensure it is an object before setting "tsd-source".

https://github.com/akhmadshin/tanstack-router-r3f

Screenshots or Videos (Optional)

No response

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

None

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.
  1. did you add the components into the ignore field in the vite plugin? that should solve the issue I think

  2. akhmadshin(GitHub profile, opens in a new tab)commented

    That helps

    devtools({
      injectSource: {
        enabled: false,
      }
    }),

Sign in to join this conversation.