dotJS 2019 - Evan You - State of Components

preview_player
Показать описание

For a period of time, most of the mainstream frontend frameworks have converged on a class-or-semi-class-based model for declaring components. However, in the past year, we are seeing some new ideas emerging regarding how stateful logic inside components are declared, managed and composed.

Evan examines three different approaches: React Hooks, Vue Composition API, and Svelte 3. They share a common departure from the class-based models, but also have fundamental differences due to the trade-offs in their respective designs, which he discusses in this talk.
Рекомендации по теме
Комментарии
Автор

Honestly, I probably would prefer picture-in-picture more on these talks, bcs sometimes it's nice to see the code longer while speaker is talking

misterslegend
Автор

7:22 'this' and data-reactive UI components. Departure from classes. Sharing component logic. React, Vue, Svelte.

12:03 Design tradeoffs - React Hooks, Vue Composition API

hcx
Автор

Evan, get your glasses sized properly 😅

poolkrooni
Автор

Couple of points related to the Svelte part ->

* Svelte now supports TypeScript, so the plusOne example will work as normal in Svelte with TypeScript
* You can reuse stores with Svelte simply declaring them in one common js file, solved !! ... no drama as mentioned in the Svelte stores part

CarlosSaltos
Автор

Não sabia que existiam "preguiçosas" fora do Ceará :)

atilacamurca
Автор

why these people are lying in front of a god? shame on them

xaapt
Автор

voted down since Rust can do this far better,
who is still using pathetic JS ?

theoligarchist