Skip to content

Rename socket assign @live_view_module to @live_module#63

Open
mugimaru wants to merge 2 commits intochrismccord:masterfrom
mugimaru:fix-live-layout
Open

Rename socket assign @live_view_module to @live_module#63
mugimaru wants to merge 2 commits intochrismccord:masterfrom
mugimaru:fix-live-layout

Conversation

@mugimaru
Copy link
Copy Markdown

According to the phoenix_live_view 0.10.0 changelog live_view_module was renamed to live_module.


<div id="main">
<%= @live_view_module.render(assigns) %>
<%= @live_module.render(assigns) %>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this be @inner_content instead?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right. @inner_content is the recommended way of rendering templates.

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

Successfully merging this pull request may close these issues.

2 participants