Skip to content

[LLV] Use Erlang Term Format instead of JSON to pass assigns and events between client and server live views #680

Description

@mat-hek

The JSON is not ideal as not all Elixir terms are uniquely representable in JSON - for example both atoms and strings are represented as strings, what introduces ambiguity. We should make sure not to bring any potentially harmful data to the server - maybe we should call an equivalent of Plug.Crypto.non_executable_binary_to_term(binary, [:safe])

Metadata

Metadata

Assignees

No one assigned

    Labels

    local-live-viewTesting whether Popcorn can be used with LiveView to prevent server round-trips.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions