Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sorting not working if React Compiler is set #5903

Open
2 tasks done
Poolshark opened this issue Feb 5, 2025 · 1 comment
Open
2 tasks done

Sorting not working if React Compiler is set #5903

Poolshark opened this issue Feb 5, 2025 · 1 comment

Comments

@Poolshark
Copy link

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.
@hammadmajid
Copy link

shadcn-ui/ui#3905

hammadmajid added a commit to hammadmajid/fintraq that referenced this issue Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants