-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
fix(solid-table): converge on use for hooks #5984
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
fix(solid-table): converge on use for hooks #5984
Conversation
|
View your CI Pipeline Execution ↗ for commit c0b51ed.
☁️ Nx Cloud last updated this comment at |
|
Could be ok for @deprecate, but I'm not sure really about this 🤔. Following a comment by Ryan a while ago , For example, in @tanstack/store, you're creating a new store via In table, In order to have more consistent name in v9 (alpha branch) it has been renamed to |
|
I'm in favor of keeping it as create as per Ryan's comments. As for the TanStack docs switching between frameworks causing 404s, I think we can just set up better redirects |
|
We'll need the redirects for sure - angular e.g. often has an injectX naming pattern. @KevinVandy , my solution was to have the names be the same, but if you're in favor of adding more advanced redirect logic instead, will you be able to look into it? I understand the sentiment in Ryan's comment, I just don't agree with it justifying an extra migration step / maintenance churn - especially because the exact same logic of "we're not using, we're creating" does apply to vue and svelte too after their adoption of signals, but both still decided to stick to |
|
I see where this came from now. It's interesting. We do use
I guess the question is whether to just say all custom primitives use Of course this is a 3rd party library so you can do whatever you want. |
Fixes the redirects in the docs when changing between vue/react frameworks to solid, or vice-versa
Adopt
useSolidTablesyntax for solid, so it's like vue/react/svelte5. This is aligned with how we do for tanstack router (useParams, useSearch, useRouter ..) and query (useQuery, useMutation ..), store (useStore) and the "official" solid router (useNavigate, useMatch ..), so it's nice to have syntax convergence for hooks.