You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nick Sutterer edited this page Aug 26, 2021
·
8 revisions
Questions
Cell instance
Do we really need the cell instance? I envision the public API to be cell(...) and that's it.
Is anyone using cell instances and passing down the cells in nested setups, eg
Email: <%= user_cell.email %>
Design
Layout
Current way
Cell.new(...,layout: Layout::Cell)
We need to be able to configure the layout at call-time, too (or only there). Otherwise, it's very clumsy to add a controller-wide layout.
cell=Cell.new(layout: ..)# happens in cell(...)cell.(weneedlayouthere)# happens in {render cell()}