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

Default remote to a calculated key #125

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

Default remote to a calculated key #125

wants to merge 3 commits into from

Conversation

jho406
Copy link
Collaborator

@jho406 jho406 commented Dec 2, 2024

This makes remote derive the target page key just like visit instead of
defaulting to the current key. It enables a far nicer dev ex when using
remote outside of ujs.

However when using data-sg-remote, we default to the current pagekey just
like before. Its better dev ex when using remote in UJS.

This makes remote derive the target page key just like visit instead of
defaulting to the current key. It enables a far nicer dev ex when using
remote outside of ujs.

However when using data-sg-remote, we default to the current pagekey just
like before. Its better dev ex when using remote in UJS.
This takes any additional options and passes it down to fetch when calling
visit or remote.
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