André Kovac
What the heck do "declarative" and "reactive" actually mean?
#1about 2 minutes
Understanding imperative vs declarative with an analogy
An analogy of tidying a room illustrates the difference between giving step-by-step instructions (imperative) and describing the desired final state (declarative).
#2about 7 minutes
The challenge of manual DOM manipulation in JavaScript
A vanilla JavaScript counter example demonstrates the imperative process of manually querying and updating the DOM to synchronize application state with the UI.
#3about 3 minutes
How the browser renders HTML, CSS, and JavaScript
An overview of the browser's rendering pipeline shows how it converts HTML and CSS into a DOM and CSSOM to paint pixels on the screen.
#4about 4 minutes
Introducing the core concepts of reactive programming
Reactive programming is introduced using a spreadsheet analogy, where changing one value automatically updates all dependent values, aiming for a UI that is a function of its state.
#5about 5 minutes
Abstracting DOM updates with a custom state object
A simple state object with a `setValue` method is created to encapsulate imperative DOM manipulation, making the event handler more declarative.
#6about 4 minutes
The imperative pitfalls of conditional UI rendering
Attempting to conditionally add an element to the DOM imperatively reveals common bugs and makes the UI difficult to reason about from the code.
#7about 3 minutes
How React enables declarative UI with a virtual DOM
React's declarative approach is demonstrated, using a virtual DOM and the `useState` hook to describe the UI's appearance based on state.
#8about 2 minutes
Svelte's approach to truly reactive state updates
Svelte simplifies reactivity by making standard JavaScript assignments automatically trigger UI updates, removing the need for setter functions.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
02:59 MIN
Audience Q&A on patterns, typescript, and frameworks
10 must-know design patterns for JS Devs
03:09 MIN
Understanding the core concepts of React
React and the power of visualisation
02:16 MIN
Rethinking web development by embracing the DOM
Rethinking web application design for fastest possible time to interactive
01:50 MIN
Defining the core principle of reactive programming
Bringing back reactivity in "reactive" frontend
02:53 MIN
Why in-depth React knowledge may not be a good investment
Keith Cirkle of GitHub on React Fatigue
05:58 MIN
Understanding the core principles of React
Hands-on React Native: From Zero to Hero
02:25 MIN
Q&A on compiler adoption and the move to full-stack
To New Frontiers: The Future of Frontend Development
01:19 MIN
Examining the trend and debate around reactive programming
Is reactive the new black? Imperative vs. reactive programming with Quarkus
Featured Partners
Related Videos
Bringing back reactivity in "reactive" frontend
Michał Moroz
To New Frontiers: The Future of Frontend Development
Rainer Hahnekamp
Why I Recommend Svelte to Every New Web Developer
Markus Hatvan
Using backend languages for frontends: Why ClojureScript is an awesome idea!
Tobias Schröder
Svelte ♥ TypeScript and so will you
Ivan Hofer
Extending HTML with Web Components
Rowdy Rabouw
Under The Hood of Vue 3 Reactivity
Marc Backes
Rethinking React State Management: The Power of Built-In Solutions
Marc Brehmer
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.

Schulz.codes GmbH
Darmstadt, Germany
Intermediate
Senior
React
JavaScript
TypeScript

BSB Bremer Software & Beratungs GmbH
Bremen, Germany
Intermediate
Senior
CSS
Java
HTML
React
JavaScript
+1

Cap3 GmbH
Kiel, Germany
Intermediate
Senior
React
Angular
JavaScript
TypeScript

doinstruct Software GmbH
Berlin, Germany
Senior
GIT
JavaScript
TypeScript

Speech Processing Solutions
Vienna, Austria
Intermediate
CSS
HTML
JavaScript
TypeScript


infomax websolutions GmbH
Grassau, Germany
Intermediate
Senior
CSS
HTML
JavaScript
TypeScript

Nia Health GmbH
Berlin, Germany
Intermediate
Senior
CSS
GIT
React
TypeScript

JO Media Software Solutions GmBh
Brunn am Gebirge, Austria
Senior
CSS
Angular
JavaScript
TypeScript