So I’m following this tutorial here:
and the technique is to use <%= @inner_content.([]) %>
to render the dialog content.
however this was deprecated in LiveVIew 0.15 in favor of render_block()
So in this case I assume I would do something like: <%= render_block(@inner_block, value: @value) %>
but I’m not sure what I should pass in for the second param. I have tried <%= render_block(@inner_block, []) %>
and it silently fails. Not sure what to do here. Any ideas?
Michael