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

Change logic of refresh method #172

Merged
merged 4 commits into from
Mar 27, 2024
Merged

Change logic of refresh method #172

merged 4 commits into from
Mar 27, 2024

Conversation

pklatka
Copy link
Collaborator

@pklatka pklatka commented Mar 27, 2024

Summary

This PR changes the logic of refresh method - we no longer dispatch replace visit, instead, the JS script is injected which calls refresh() method on Turbo.session object.

Test plan

Added a setTimeout in WebView.tsx and checked if website is refreshed properly.

@pfeiffer
Copy link
Contributor

LGTM!

pklatka and others added 2 commits March 27, 2024 12:25
…ew/RNVisitableView.kt

Co-authored-by: Mattias Pfeiffer <mattias@pfeiffer.dk>
Co-authored-by: Mattias Pfeiffer <mattias@pfeiffer.dk>
@pklatka pklatka merged commit 2cda1ed into main Mar 27, 2024
1 check passed
@pklatka pklatka deleted the change-refresh-logic branch March 27, 2024 11:29
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.

None yet

2 participants