Tag

Global State

1 views collected around this technical thread.

Sohu Tech Products
Sohu Tech Products
Feb 19, 2025 · Frontend Development

Comprehensive Guide to React State Management

This guide explains React state management fundamentals, covering local state with useState, useReducer, class components, and custom hooks; global solutions such as Context API, Zustand, Jotai, and Redux; and server‑side handling using React Query, SWR, plus navigation and form state best practices.

Context APICustom HooksForms
0 likes · 30 min read
Comprehensive Guide to React State Management
政采云技术
政采云技术
Aug 2, 2022 · Fundamentals

Understanding the Chandy‑Lamport Distributed Snapshot Algorithm

This article explains the Chandy‑Lamport algorithm for capturing consistent global snapshots in distributed systems, describes its assumptions and message‑marker rules, walks through a detailed example with three processes and channels, and relates it to Apache Flink's asynchronous checkpoint mechanism.

Apache FlinkChandy-LamportFailure Recovery
0 likes · 14 min read
Understanding the Chandy‑Lamport Distributed Snapshot Algorithm
KooFE Frontend Team
KooFE Frontend Team
May 3, 2022 · Frontend Development

Build a Simple React Global State Manager Using ES6 Proxy

This article demonstrates how to leverage the ES6 Proxy object to create a lightweight global state management solution for React, walking through a counter example, custom hooks, listener tracking, and a reusable store creator for seamless component updates.

FrontendGlobal StateJavaScript
0 likes · 7 min read
Build a Simple React Global State Manager Using ES6 Proxy
KooFE Frontend Team
KooFE Frontend Team
Apr 17, 2022 · Frontend Development

Master Global State Management in React with Custom Hooks

Learn how to build a simple global state management solution in React using custom hooks, starting from a basic counter component, extending it with initialization props, synchronizing multiple counters, and finally creating a reusable createGlobalState utility for shared state across components.

Custom HookGlobal StateHooks
0 likes · 9 min read
Master Global State Management in React with Custom Hooks
Weidian Tech Team
Weidian Tech Team
Nov 15, 2019 · Frontend Development

Master Vue’s Provide/Inject: Simplify Component Communication

This article explains Vue’s provide/inject API, how it enables ancestor components to share data with any descendant, compares it to Vuex for global state, shows practical code examples, discusses limitations and best‑practice guidelines, and demonstrates its use in component libraries like Element UI.

Component CommunicationGlobal StateVue
0 likes · 8 min read
Master Vue’s Provide/Inject: Simplify Component Communication