liveview-native / liveview-native/liveview-native-core

Show meaningful error view when response type is not swiftui

Open
#337 1 comment 0 reactions 1 assignee View on GitHub

@carson-katri is already working on this.

Since Sep 17, 2024.

Dominant language
Rust
Stars
166
Forks
14
PR merge metrics
No merged PRs in 30d

Description

If someone forgets to add `use MyAppNative, :live_view` to their LiveView the application will respond with a `html` response. We currently just spin in this event. We cannot capture this issue on the server because our code isn't added at all to the LiveView but we can capture this on the client to provide a meaningful explanation of what is happening and push the developer in the correct direction.

/cc @dbii

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.