UI State Management: From Object-Oriented to Functional
- Length: 138 pages
- Edition: 1
- Language: English
- Publication Date: 2021-03-02
- ISBN-10: B08X21JRTL
- ISBN-13: 9798711726913
- Sales Rank: #141513 (See Top 100 Books)
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
Donate to keep this site alive
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.