[pull] beta from TanStack:beta#122
Merged
Merged
Conversation
* perf: pre-compute instance init functions When we construct a row, we iterate over the table's features and initialise any which have an `initRowInstanceData`. This is expensive since most don't have such a method. We actually know when we construct the table which features have this method. This changes the table construction to store the initialisers up front so when we create a row, we can just iterate the already known initialisers. * fix(table-core): bind initialiser to feature Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * cache init functions consistently for all table objects --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: Kevin Van Cott <kevinvandy656@gmail.com>
…accessor keys (#6444) fix(table-core): preserve undefined in DeepValue for optional deep keys When a deep string accessor key traverses an optional (or nullable) parent key, `DeepValue` dropped the `undefined` from the resolved value type. This made `getValue()` for a path like `user.salary.amount` typed as `number` even when `salary` is optional, hiding a possible `undefined` that the runtime accessor (which uses optional chaining) can return. Distribute over the leaf union and map `null`/`undefined` members to `undefined`, matching the optional-chaining semantics of the deep accessor function.
release: v9.0.0-beta.56 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…r pass (#6452) The FlexRender components computed `result` in a plain getter that the template reads twice (component-branch check, then content), re-invoking the user's cell/header/footer render function on every read. Cache the getter so the render function runs exactly once per render pass.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )