Phoenix 1.7 is viewless

[embedded content]

The Phoenix 1.7-rc announcement mentions that Phoenix is ​​discontinuing Phoenix.View.

But don't worry. It's for a good reason.

The Phoenix team has unified approaches to rendering HTML, whether from a controller request or a LiveView.

So controllers and LiveViews will both show function components!

Here's how it works.

Phoenix 1.7 is viewless
[embedded content]

The Phoenix 1.7-rc announcement mentions that Phoenix is ​​discontinuing Phoenix.View.

But don't worry. It's for a good reason.

The Phoenix team has unified approaches to rendering HTML, whether from a controller request or a LiveView.

So controllers and LiveViews will both show function components!

Here's how it works.

What's Your Reaction?

like

dislike

love

funny

angry

sad

wow