phoenix_live_view icon indicating copy to clipboard operation
phoenix_live_view copied to clipboard

Update docs for slot/3, attr/2, and Phoenix.Component

Open connorlay opened this issue 1 year ago • 2 comments

See https://github.com/phoenixframework/phoenix_live_view/issues/2128

connorlay avatar Aug 14 '22 00:08 connorlay

I think the biggest change I would suggest is to introduce and use all declarative assigns early on. So we teach about them as we are teaching components. Then maybe we can have a small section at the end saying they are not necessary but they are recommended. WDYT?

I like that idea! Would you like me to look through the guides as well as part of this PR, or keep this scoped to Phoenix.Component? Either way I'll get started on addressing your feedback 👍🏻

connorlay avatar Aug 14 '22 18:08 connorlay

Just Phoenix.Component for now so we keep it focused. :)

josevalim avatar Aug 14 '22 18:08 josevalim