liveview-native / liveview-native/liveview-native-core
redirect/3 doesn't match behaviour on the web
Open
- Dominant language
- Rust
- Stars
- 166
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
On the web, live navigation has the following behavior:
* `redirect` re-establish socket connection and re-mount the liveview
* `push_navigate` re-use existing socket connection and re-mount the liveview
* `push_patch` re-use existing socket connection and existing liveview (no `mount/3`, only handle_params)
However, on native our `redirect` event re-uses the existing socket connection rather than re-establishing it. I think this could be a potential security risk, or at the very least, doesn't match what developers will expect.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.