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

feat: implement vue adapter #3848

Merged
merged 4 commits into from Apr 20, 2022
Merged

Conversation

Mokshit06
Copy link
Contributor

@Mokshit06 Mokshit06 commented Apr 20, 2022

This PR implements a vue adapter for react-table v8 alpha. It needs a bit more testing, but from the few examples I tested it with, it seemed to function properly

@vercel
Copy link

vercel bot commented Apr 20, 2022

@Mokshit06 is attempting to deploy a commit to the Tanstack Team on Vercel.

A member of the Team first needs to authorize it.

@@ -2,7 +2,7 @@
"private": true,
"repository": "https://github.com/tanstack/react-table.git",
"scripts": {
"linkAll": "lerna exec 'yarn link' && lerna exec 'yarn link @tanstack/react-table' && lerna exec 'yarn link @tanstack/solid-table'",
"linkAll": "lerna exec 'yarn link' && lerna exec 'yarn link @tanstack/react-table' && lerna exec 'yarn link @tanstack/solid-table' && lerna exec 'yarn link @tanstack/vue-table'",
Copy link
Collaborator

Choose a reason for hiding this comment

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

These extra links shouldn’t be necessary. Only the core. Right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added them because the @tanstack/react-table existed before I opened the solid-table PR, so I thought that other adapters should also be added, but do we need to really do yarn link with workspaces at all?

Copy link
Collaborator

Choose a reason for hiding this comment

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

You’re not supposed to have to, but for whatever reason, I found it necessary for the core.

Copy link
Contributor Author

@Mokshit06 Mokshit06 Apr 20, 2022

Choose a reason for hiding this comment

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

So should I remove all these packages and add @tanstack/table-core instead? Not sure why react-table was there earlier, since it isn't being used as dependency anywhere

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yeah, let's do that

packages/vue-table/package.json Outdated Show resolved Hide resolved
@tannerlinsley tannerlinsley merged commit 2986a36 into TanStack:alpha Apr 20, 2022
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.

None yet

2 participants