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

Lazy react hook module concept #4128

Draft
wants to merge 13 commits into
base: master
Choose a base branch
from
Draft

Conversation

EskiMojo14
Copy link
Collaborator

@EskiMojo14 EskiMojo14 commented Jan 27, 2024

const api = createApi({ ... })

const hooks = buildHooksForApi(api)

hooks.useGetPostQuery(id)

Copy link

codesandbox bot commented Jan 27, 2024

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Copy link

netlify bot commented Jan 27, 2024

Deploy Preview for redux-starter-kit-docs ready!

Name Link
🔨 Latest commit 7bd354c
🔍 Latest deploy log https://app.netlify.com/sites/redux-starter-kit-docs/deploys/65c1709d77b95e00084eb0a4
😎 Deploy Preview https://deploy-preview-4128--redux-starter-kit-docs.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

codesandbox-ci bot commented Jan 27, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 7bd354c:

Sandbox Source
Vanilla Typescript Configuration
rsk-github-issues-example Configuration
@examples-query-react/basic Configuration
@examples-query-react/advanced Configuration
@examples-action-listener/counter Configuration
rtk-esm-cra Configuration

Copy link

github-actions bot commented Feb 4, 2024

size-limit report 📦

Path Size
1. entry point: @reduxjs/toolkit/query/react (modern.mjs) 13.55 KB (+0.67% 🔺)
2. entry point: @reduxjs/toolkit/query/react (without dependencies) (modern.mjs) 222 B (+100% 🔺)
1. entry point: @reduxjs/toolkit/query (cjs, production.min.cjs) 21.9 KB (+0.06% 🔺)
1. entry point: @reduxjs/toolkit/query/react (cjs, production.min.cjs) 24 KB (+0.52% 🔺)
2. entry point: @reduxjs/toolkit/query (without dependencies) (cjs, production.min.cjs) 8.74 KB (+0.18% 🔺)
2. entry point: @reduxjs/toolkit/query/react (without dependencies) (cjs, production.min.cjs) 2.9 KB (+5.48% 🔺)
3. createApi (.modern.mjs) 13.81 KB (+0.11% 🔺)
3. createApi (react) (.modern.mjs) 15.48 KB (+0.41% 🔺)

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.

1 participant