Главная
Study mode:
on
1
Introduction
2
Who am I
3
Agenda
4
Why classes
5
Example
6
Classes in JavaScript
7
The problem with classes
8
False expectations
9
Lack of features
10
Context binding
11
Constructor binding
12
increment method
13
tools classes
14
avoid classes
15
whats left
16
factory function
17
API class
18
Object composition
19
Create base counter
20
Create step counter
21
Functions toolbox
22
Function decorator
23
Module
24
Singleton
25
React Hooks
26
Examples
27
HBU
28
Classbased components
29
Complicated patterns
30
Recap
31
Adjust your expectations
32
Questions
Description:
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only! Grab it Explore the controversial topic of JavaScript classes in this 47-minute Devoxx conference talk. Delve into potential issues and pitfalls of using classes, including the need for context binding of methods. Discover alternative patterns that are conceptually simpler, easier to work with, safer to use, more idiomatic, and require less code. Learn about factory functions, object composition, function decorators, modules, singletons, and React Hooks as powerful alternatives to class-based components. Gain insights on adjusting expectations and leveraging functions as the core building blocks in JavaScript development.

You Might Not Need JavaScript Classes

Devoxx
Add to list