Skip to content

feat(angular,solid,vue): add core signal reactivity feature #6181

Draft
riccardoperra wants to merge 4 commits intoalphafrom
feat/signal-feature-interoperability-adapters
Draft

feat(angular,solid,vue): add core signal reactivity feature #6181
riccardoperra wants to merge 4 commits intoalphafrom
feat/signal-feature-interoperability-adapters

Conversation

@riccardoperra
Copy link
Collaborator

@riccardoperra riccardoperra commented Feb 25, 2026

Table will expose a optionsStore which is a store storing the table options. This remove the necessity to call table.baseStore.setOptions(prev => ({...prev})) on every setOptions in our adapters.

Since options will be reactive and patched with the notifier given by the adapter through thetableReactivityFeature, solid/vue table will update even if an option change after table construction (properties given as a getter)

@changeset-bot
Copy link

changeset-bot bot commented Feb 25, 2026

⚠️ No Changeset found

Latest commit: f4d29ce

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 25, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/signal-feature-interoperability-adapters

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@riccardoperra riccardoperra force-pushed the feat/signal-feature-interoperability-adapters branch from f3f8c5f to 67d022a Compare February 25, 2026 21:27
@nx-cloud
Copy link

nx-cloud bot commented Feb 25, 2026

View your CI Pipeline Execution ↗ for commit f4d29ce

Command Status Duration Result
nx run-many --targets=build -p @tanstack/table-... ✅ Succeeded 1s View ↗
nx affected --targets=test:eslint,test:sherif,t... ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2026-03-03 13:39:22 UTC

@riccardoperra riccardoperra changed the title feat(angular,solid): add core signal reactivity feature [WIP] feat(angular,solid): add core signal reactivity feature Feb 25, 2026
Base automatically changed from tanstack-store-update to alpha February 27, 2026 22:52
@riccardoperra riccardoperra force-pushed the feat/signal-feature-interoperability-adapters branch 4 times, most recently from 5cf10b3 to 00f2180 Compare February 28, 2026 07:56
@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 28, 2026

More templates

@tanstack/angular-table

npm i https://pkg.pr.new/TanStack/table/@tanstack/angular-table@6181

@tanstack/lit-table

npm i https://pkg.pr.new/TanStack/table/@tanstack/lit-table@6181

@tanstack/match-sorter-utils

npm i https://pkg.pr.new/TanStack/table/@tanstack/match-sorter-utils@6181

@tanstack/preact-table

npm i https://pkg.pr.new/TanStack/table/@tanstack/preact-table@6181

@tanstack/react-table

npm i https://pkg.pr.new/TanStack/table/@tanstack/react-table@6181

@tanstack/react-table-devtools

npm i https://pkg.pr.new/TanStack/table/@tanstack/react-table-devtools@6181

@tanstack/solid-table

npm i https://pkg.pr.new/TanStack/table/@tanstack/solid-table@6181

@tanstack/solid-table-devtools

npm i https://pkg.pr.new/TanStack/table/@tanstack/solid-table-devtools@6181

@tanstack/svelte-table

npm i https://pkg.pr.new/TanStack/table/@tanstack/svelte-table@6181

@tanstack/table-core

npm i https://pkg.pr.new/TanStack/table/@tanstack/table-core@6181

@tanstack/table-devtools

npm i https://pkg.pr.new/TanStack/table/@tanstack/table-devtools@6181

@tanstack/vue-table

npm i https://pkg.pr.new/TanStack/table/@tanstack/vue-table@6181

commit: be65045

@riccardoperra riccardoperra force-pushed the feat/signal-feature-interoperability-adapters branch 2 times, most recently from 40513ea to b5086d5 Compare March 1, 2026 18:29
@riccardoperra riccardoperra changed the title [WIP] feat(angular,solid): add core signal reactivity feature [WIP] feat(angular,solid,vue): add core signal reactivity feature Mar 3, 2026
@riccardoperra riccardoperra changed the title [WIP] feat(angular,solid,vue): add core signal reactivity feature feat(angular,solid,vue): add core signal reactivity feature Mar 3, 2026
@riccardoperra riccardoperra marked this pull request as ready for review March 3, 2026 13:38
riccardoperra and others added 4 commits March 3, 2026 14:38
* feat: update @tanstack/store to v9

* Update packages/table-core/src/core/table/constructTable.ts

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* fix: lockfile

* ci: apply automated fixes

* feat: add solid table devtools

* feat: add table devtools options panel

* feat: move reactivity feature to core

* feat: refactor reactivity feature with notifier impl

* feat: try to refactor vue adapter

* ci: apply automated fixes

* wip vue adapter

* wip options as store + some fixes in solid, angular adapter. fix react adapter

* fix vue adapter

* fix types

* fix table devtools

* fix lint

* fix table devtools

* fix knip issues

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
@riccardoperra riccardoperra force-pushed the feat/signal-feature-interoperability-adapters branch from 976cd8f to f4d29ce Compare March 3, 2026 13:38
@riccardoperra riccardoperra marked this pull request as draft March 3, 2026 13:38
/**
* The latest table options value (non reactive).
*/
latestOptions: TableOptions<TFeatures, TData>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm trying to follow along. Why is this needed?

Copy link
Collaborator Author

@riccardoperra riccardoperra Mar 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm trying to figure out whether we still need it or not. I initially added it because I was running into recursive and infinite access issues in the Angular adapter.

In theory, from TanStack Store I expected to have an untracked utility to read a signal’s value without triggering the dependency auto-tracking system, exactly how you can do in solid, angular or like Preact with the peek method

Copy link
Collaborator Author

@riccardoperra riccardoperra Mar 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

had seen some inconsistencies in my tests expecially while using table_mergeOptions and table_setOptions utils since they access the "reactive" version of the options, so I've temporarly introduced a non-reactive property that you can access there, until I check better the issues I had

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

Successfully merging this pull request may close these issues.

2 participants