-
Notifications
You must be signed in to change notification settings - Fork 5
feat: Add Context-based API Client support for React Compiler compatibility #396
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
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: 3ee49e2 The changes in this PR will be included in the next version bump. This PR includes changesets to release 7 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
…ateAPIClientOptions`
759a5d5 to
1f796b9
Compare
…compatibility with third party bundlers
…xt-based API client support
…r React Context-based API clients. Enables creating API clients outside components with static hooks, making them compatible with React Compiler optimization.
…oads - replace `DefaultCallbacks` with `Callbacks` for correct type inference.
33574be to
22e0284
Compare
b4ee170 to
5a06832
Compare
This comment has been minimized.
This comment has been minimized.
fcfe7d5 to
3ee49e2
Compare
@check-spelling-bot Report🔴 Please reviewSee the 📂 files view, the 📜action log, or 📝 job summary for details.Unrecognized words (3)STNGs To accept these unrecognized words as correct, you could run the following commands... in a clone of the git@github.com:OpenAPI-Qraft/openapi-qraft.git repository curl -s -S -L 'https://raw.githubusercontent.com/check-spelling/check-spelling/v0.0.24/apply.pl' |
perl - 'https://github.com/OpenAPI-Qraft/openapi-qraft/actions/runs/21264611574/attempts/1'
OR To have the bot accept them for you, comment in the PR quoting the following line: If the flagged items are 🤯 false positivesIf items relate to a ...
🚂 If you're seeing this message and your PR is from a branch that doesn't have check-spelling, |
Adds
context:option to--create-api-client-fnthat generates a React Context-based API client, enabling React Compiler optimization.Features:
queryClient,requestFn,baseUrl)