Skip to content

Sorting not working if React Compiler is set #5903

Open
@Poolshark

Description

@Poolshark

TanStack Table version

v8.20.6

Framework/Library version

Next.js 15.0.3

Describe the bug and the steps to reproduce it

Sorting is not working if reactCompiler is set true in next.config.ts.

// next.config.ts

/** @type {import('next').NextConfig} */
const nextConfig = {
  experimental: {
    reactCompiler: true,
  },
};

export default config;
Reproduction
  1. Start dev-server: yarn dev
  2. Try table sorting on email column → verify that it is not working
  3. Set reactCompiler: false in next.config.js
  4. If dev-server is not automatically restarting, restart dev-server
  5. Sort from email column and verify that it is working now

Your Minimal, Reproducible Example - (Sandbox Highly Recommended)

https://codesandbox.io/p/devbox/3sh4jc

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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