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

Deprecate DataFunctionArgs #8089

Merged

Conversation

brophdawg11
Copy link
Contributor

This is the first of a series of PRs to implement Client Data into a feature/client-data branch.

When clientLoader/clientAction come into play, we'll finally have a differentiation between parameters passed to clientLoader/clientAction since they'll receive a serverLoader/serverAction function to call the loader/action on the server.

We don't plan to introduce a ClientDataFunctionArgs because they will be different, so it will just be ClientLoaderFunctionArgs/ClientActionFunctionArgs

To keep things consistent across server and client types , this PR deprecates DataFunctionArgs so that folks can move to LoaderFunctionArgs/ActionFunctionArgs

Copy link

changeset-bot bot commented Nov 21, 2023

🦋 Changeset detected

Latest commit: fbf67fc

The changes in this PR will be included in the next version bump.

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

@brophdawg11 brophdawg11 merged commit 6a643ce into feature/client-data Nov 29, 2023
5 checks passed
@brophdawg11 brophdawg11 deleted the brophdawg11/deprecate-datafunctionargs branch November 29, 2023 21:03
@brophdawg11 brophdawg11 mentioned this pull request Nov 29, 2023
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants