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

LiveView 0.15 Support #86

Open
theycallmehero opened this issue Feb 4, 2021 · 0 comments
Open

LiveView 0.15 Support #86

theycallmehero opened this issue Feb 4, 2021 · 0 comments

Comments

@theycallmehero
Copy link

theycallmehero commented Feb 4, 2021

Hello!

I am getting error

Please pass a `->` clause to do/end instead, for example:

    live_component @socket, GridComponent, entries: @entries do
      new_assigns -> "New entry: " <> new_assigns[:entry]
    end

When I try to use do block to pass content to child component.

What is the correct syntax in PhoenixSlime?

@theycallmehero theycallmehero changed the title Syntax for LiveView 0.15 LiveView 0.15 Supprot Feb 8, 2021
@theycallmehero theycallmehero changed the title LiveView 0.15 Supprot LiveView 0.15 Support Feb 8, 2021
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

No branches or pull requests

1 participant