Verwandte Artikel zu UI State Management: From Object-Oriented to Functional

UI State Management: From Object-Oriented to Functional - Softcover

Buch 1 von 2: UI State Management

Salcescu, Cristian

 
9798711726913: UI State Management: From Object-Oriented to Functional

Inhaltsangabe

State management has become a common challenge when developing web applications.

The time when we directly changed the UI for display data is long gone. All major UI libraries come with a new approach, changing the UI means actually changing the state.

This book gives you an overview of how state is managed by building a note-taking application with four different libraries. We start from an object-oriented approach using Svelte, centralize state with Vuex, then move to a functional approach with React and Redux, and in the end arrive at a solution using only pure functions with Elm.

Here are some of the things we will go through:

  • Understand what state is
  • Recognize domain and UI state
  • Encapsulate state inside stores with Svelte
  • Centralize state management with Vuex
  • Learn the Flux architecture
  • Apply functional principles in state management with Redux
  • Handle side-effects with Redux Thunk
  • Manage state using only pure functions with Elm

Die Inhaltsangabe kann sich auf eine andere Ausgabe dieses Titels beziehen.