dotJS 2019 - Evan You - State of Components

  Рет қаралды 7,763

dotconferences

dotconferences

Күн бұрын

Filmed at 2019.dotjs.io on December 5-6, 2019 in Paris. More talks on dotconferences.com/talks
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.

Пікірлер: 47
@hcx1853
@hcx1853 4 жыл бұрын
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
@misterslegend
@misterslegend 4 жыл бұрын
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
@yuanyuan_life
@yuanyuan_life 4 жыл бұрын
me too
@fburton8
@fburton8 4 жыл бұрын
why audience prostate on floor?
@med5032
@med5032 4 жыл бұрын
Yeah, I would imagine it affects the speaker in a bad way. Looks comfy for the audience, though.
@JeffPohlmeyer
@JeffPohlmeyer 4 жыл бұрын
@@med5032 except for people who need to write/take notes. People in the audience laying down seems to be progressive simply for the sake of progressiveness, if that makes sense
@rickyu1978
@rickyu1978 4 жыл бұрын
hmm, yeah kinda disrespectful to the speaker i would think with your feet right in his face.. as a developer im happy sitting in a comfy chair
@aboutajedyneayoub921
@aboutajedyneayoub921 4 жыл бұрын
yeah bad thing moreover by lying down, the mind becomes lazy.
@misterslegend
@misterslegend 4 жыл бұрын
The 2000 other audience are actually sitting, so just some have the chance to lurk. I think maybe the speaker feels more personal to this small audience, because he can focus on some people and doesn't see the big crowd (getting more nervous eventually)..
@poolkrooni
@poolkrooni 4 жыл бұрын
Evan, get your glasses sized properly 😅
@gofudgeyourselves9024
@gofudgeyourselves9024 4 жыл бұрын
look closely, Evan kind of looks like Jordan walke
@atilacamurca
@atilacamurca 4 жыл бұрын
Não sabia que existiam "preguiçosas" fora do Ceará :)
@victorfds
@victorfds 4 жыл бұрын
O que quer dizer?
@atilacamurca
@atilacamurca 4 жыл бұрын
@@victorfds O nome dessa cadeira que está no palco chamamos de preguiçosa no Ceará :)
@victorfds
@victorfds 4 жыл бұрын
Bacana !!
@CarlosSaltos
@CarlosSaltos 3 жыл бұрын
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
@samuelmorkbednarzkepler
@samuelmorkbednarzkepler 2 жыл бұрын
Just a quick comment on your second point regarding Svelte Stores. I think you missed what he was saying. He did actually mention Svelte stores. He said that the stores API is different from the normal Svelte code you would write in your component. When he said you cant compose functions to share across components he was specifically talking in the context of "without switching to a different syntax like Svelte stores." Where as in Vue you can use the same syntax you use within components to share code across components. If you go to 20:11 where he shows the slide for that point, the slide even states "*cross component logic must use a separate store API" So, the criticism here isn't that its impossible to share code logic across Svelte. Its that you have to switch between multiple APIs to do it. Where as other solutions like Vue or React allows you to reuse logic easier by having a single API that allows for logic composability out of the box.
@xaapt
@xaapt 4 жыл бұрын
why these people are lying in front of a god? shame on them
@theoligarchist1503
@theoligarchist1503 4 жыл бұрын
tell you god that those are called "Composition classes"
@theoligarchist1503
@theoligarchist1503 4 жыл бұрын
voted down since Rust can do this far better, who is still using pathetic JS ?
@matzesox
@matzesox 4 жыл бұрын
Ah so you are writing frontend browser code in Rust :-D?
@theoligarchist1503
@theoligarchist1503 4 жыл бұрын
@@matzesox , you should try some rust stdweb examples
@peaksome4392
@peaksome4392 4 жыл бұрын
Rust is overkill for now. How do you debug webassembly btw?
@theoligarchist1503
@theoligarchist1503 4 жыл бұрын
@@peaksome4392 you cant, but the statically typing of the language far out weighs every other thing that you can come up with against it. btw, debugging and testing is for those who dont write their own DSLs, a very crude way of writing software
@peaksome4392
@peaksome4392 4 жыл бұрын
@@theoligarchist1503 You talk like a trump supporter. No point of making logical argument with you.
dotJS 2016 - Evan You - Reactivity in Frontend JavaScript Frameworks
18:46
ОСКАР vs БАДАБУМЧИК БОЙ!  УВЕЗЛИ на СКОРОЙ!
13:45
Бадабумчик
Рет қаралды 5 МЛН
Red❤️+Green💚=
00:38
ISSEI / いっせい
Рет қаралды 55 МЛН
Мы никогда не были так напуганы!
00:15
Аришнев
Рет қаралды 6 МЛН
dotSwift 2020 - Erica Sadun - Property Wrappers
17:57
dotconferences
Рет қаралды 4,6 М.
VUECONF US 2019 | State of Vuenion with Evan You
28:12
Vue Mastery
Рет қаралды 8 М.
Evan You - Inside Vue Components - Laracon EU 2017
44:50
Laracon EU
Рет қаралды 25 М.
dotJS 2019 - Bert Belder - Deno
18:41
dotconferences
Рет қаралды 24 М.
Why Isn't Functional Programming the Norm? - Richard Feldman
46:09
dotSwift 2020 - Ishmael Shabazz - Integrating SwiftUI & UI Kit
14:02
dotconferences
Рет қаралды 1,8 М.
Evan You -  Modern Frontend with Vue.js - Laracon EU 2016
38:58
Laracon EU
Рет қаралды 58 М.
Rest API - Best Practices - Design
15:50
High-Performance Programming
Рет қаралды 100 М.
Hisense Official Flagship Store Hisense is the champion What is going on?
0:11
Special Effects Funny 44
Рет қаралды 3,1 МЛН
😱Хакер взломал зашифрованный ноутбук.
0:54
Последний Оплот Безопасности
Рет қаралды 703 М.
АЙФОН 20 С ФУНКЦИЕЙ ВИДЕНИЯ ОГНЯ
0:59
КиноХост
Рет қаралды 508 М.