Skip to content

Deprecate DataFunctionArgs - #8089

Merged
brophdawg11 merged 2 commits into
feature/client-datafrom
brophdawg11/deprecate-datafunctionargs
Nov 29, 2023
Merged

brophdawg11 merged 2 commits into
feature/client-datafrom
brophdawg11/deprecate-datafunctionargs

Conversation

@brophdawg11

Copy link
Copy Markdown
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

@changeset-bot

changeset-bot Bot commented Nov 21, 2023 •

Copy link
Copy Markdown

๐Ÿฆ‹ 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
@brophdawg11
brophdawg11 deleted the brophdawg11/deprecate-datafunctionargs branch November 29, 2023 21:03
@brophdawg11 brophdawg11 mentioned this pull request Nov 29, 2023
4 tasks done
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