Frontend Highlights: EventSource, IndexedDB, Chakra UI, Async‑Validator, ES2023
This article surveys recent frontend developments, explaining why ChatGPT uses EventSource instead of WebSocket, promoting IndexedDB as the new storage favorite, celebrating Chakra UI’s growth, detailing async‑validator’s role in form validation across major UI libraries, and summarizing the new features introduced in ECMAScript 2023.
Frontier Exploration
Why does ChatGPT use EventSource instead of WebSocket for conversations?
On the official ChatGPT site, the conversation method uses only a POST request and does not employ a WebSocket connection typical of instant messaging. Curious about the reason?
Forget localStorage, IndexedDB is the new favorite for frontend storage!
If you need a storage solution with large capacity, search support, and custom indexing, choose IndexedDB. According to caniuse, browser support is good.
Chakra UI with 32K stars and future outlook
For the past five years I have been dedicated to Chakra UI and am proud of our achievements. Our team has grown, monthly downloads exceed 1.9 million, unique site visits over 2 million, and GitHub stars have reached 31 000, making it one of my most fulfilling projects.
Frontend Technology and Architecture
Form validation library async-validator and its strategy‑pattern use in React and Vue
Most open‑source component libraries for forms in the community rely on async-validator. Popular UI libraries such as Ant Design (antd) and Element UI use it; antd’s form component is built on rc‑field‑form, which uses async-validator, and the Vue 3 UI library Naive UI also adopts async-validator. What makes async-validator so magical that so many UI libraries choose it?
ECMAScript 2023 officially released – what are the new features?
On June 27 2023, the 125th ECMA General Assembly approved the ECMAScript 2023 language specification, making it the latest standard. Below are the new features introduced in ECMAScript 2023.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
