Tagged articles
2 articles
Page 1 of 1
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 12, 2023 · Frontend Development

How to Build a Cross‑Version Vue Component Library for Vue 2 and Vue 3

This article explains the challenges of upgrading large B2B Vue 2 projects to Vue 3, evaluates three technical approaches—Vue SFC templates, render functions, and standard JSX—and details the chosen JSX‑based strategy, multi‑layer architecture, TypeScript support, and open‑source implementation for a seamless cross‑version component library.

Component LibraryCross-VersionJSX
0 likes · 23 min read
How to Build a Cross‑Version Vue Component Library for Vue 2 and Vue 3
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 19, 2021 · Databases

Understanding MHA Master Selection Logic and Cross‑Version Switching Issues

This article analyses why MHA reports a "bad new master" error during master‑slave switches, explains the internal candidate‑master and bad‑master selection algorithms, demonstrates how MySQL version differences affect cross‑version promotion through test scenarios, and provides detailed code excerpts to illustrate the decision process.

Cross-VersionMHAmaster selection
0 likes · 12 min read
Understanding MHA Master Selection Logic and Cross‑Version Switching Issues