# Sharing State with Islands Architecture

MAXI FERREIRA 阐述的在岛模式组件中管理状态的思路也可以用于低代码场景。

We have several options for choosing a store. Astro recommends the nanostores library in their documentation, which is what we’ll use for our example, but several UI frameworks already come with a built-in solution—Svelte has Stores, Preact has Signals (as does Solid), and Vue has the Reactivity API.

第一次见到有人在公开场合说 Vue 的 Reactive API 是可以用于管理状态的。


Copyright © 2024 Lionad - CC-BY-NC-CD-4.0