Skip to content

Compilation error for Jetpack components with arity 2 #485

@Sancxo

Description

@Sancxo

Hi, I am just playing around with LiveView Native to try it and I just can't compile the core_component.jetpack.ex file, because Phoenix LiveView only allows arity 1 for Components (for the assigns attribute) and liveview_client_jetpack creates components with 2 attributes (assigns and interface).

As using Linux, I can't try the SwiftUI client but I quickly looked at the core_component.swiftui.ex file to compare and these components are of arity 1.

I guess it could be a compatibility problem, as I am running phoenix_live_view 1.0.2 as shown in the screenshot below, but I don't know which version of Phoenix LiveView could solve the problem.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions