World Congress 2024 • Aug 20, 2024 • Session details

Bringing back reactivity in "reactive" frontend

Michał Moroz

Are isolated boolean flags causing elusive bugs in your codebase? True reactivity exists to mathematically eliminate invalid states. Learn to build resilient frontends using pure derived primitives.

Pause
Mute Enter Fullscreen
#1 about 3 min

Establishing a practical definition of reactivity

Finding a shared principle of reactive programming that focuses on preventing impossible application states.

#2 about 5 min

Modeling object-oriented states versus derived reactive states

A simple lamp switch example illustrates how derived states eliminate invalid combinations of data.

#3 about 1 min

Comparing derived state primitives across modern JavaScript libraries

How react, vue, rxjs, and solid each handle base state declarations and derived computations.

#4 about 3 min

Replacing explicit state mutations with derived variables

Translating convoluted imperative update functions into clean reactive computed values to fix unpredictable behavior.

#5 about 4 min

Decoupling UI states to prevent impossible interface combinations

Organizing finite sets of independent state paths avoids conflicting interface visibility bugs.

#6 about 4 min

Positioning derived state logic within component hierarchies

Evaluating the tradeoffs between placing derived state in global stores versus isolating it within local child components.

#7 about 9 min

A systematic process for refactoring legacy imperative updates

Recursively mapping out function dependencies and state mutations enables a safe transition to derived pure functions.

#8 about 4 min

The architectural benefits of reducing invalid states

Relying on derived state and pure functions yields a more predictable, conceptualized, and resilient frontend architecture.

Matching moments

2:50 min

Defining true reactivity in web frameworks

Daniela Bonvini · LIVE

4:38 min

Introduction to react components, props, and state

Clemens Helm · World Congress 2023

1:58 min

Navigating the learning curve of reactive programming

Jan-Niklas Wortmann · LIVE

3:00 min

Summarizing modern patterns for robust interactive components

Aurora Scharff Aurora Scharff · World Congress 2025

7:20 min

The complexity and maintainability tradeoffs of reactive programming

Christian Woerz · LIVE

4:30 min

Tracking open source community trends in JavaScript native frameworks

Dan Cranney Dan Cranney +2 · LIVE