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(ktable): expose table data and revalidate handle #2510

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

TT1228
Copy link
Contributor

@TT1228 TT1228 commented Nov 12, 2024

Summary

KM-694

Currently, some consuming apps use useSwrvRequest while passing the fetcher with the same key to fetcher of EntityBaseTable which passes along this param to KTableData.
However, separate calls of useSwrvRequest in consuming app and KTableData cause the same request being fired twice. So data and revalidate handle are exported for consuming app to watch, like in gateway-manager/CustomDomainList

Copy link

netlify bot commented Nov 12, 2024

Deploy Preview for kongponents-sandbox ready!

Name Link
🔨 Latest commit 9016cf3
🔍 Latest deploy log https://app.netlify.com/sites/kongponents-sandbox/deploys/6732facbd82d1400081ded3d
😎 Deploy Preview https://deploy-preview-2510--kongponents-sandbox.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Nov 12, 2024

Deploy Preview for kongponents ready!

Name Link
🔨 Latest commit 9016cf3
🔍 Latest deploy log https://app.netlify.com/sites/kongponents/deploys/6732facb618f73000825d59b
😎 Deploy Preview https://deploy-preview-2510--kongponents.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@kongponents-bot
Copy link
Collaborator

Preview package from this PR in consuming application

In consuming application project install preview version of kongponents generated by this PR:

@kong/kongponents@pr-2510

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