Skip to content
Back to Blog

January 13, 2026

Legend State: Ultra-Hızlı State Management

Redux karmaşık, Context yavaş. Legend State ikisinin de sorununu çözüyor.

Nedir?

Fine-grained reactivity ile ultra-performanslı state yönetimi.

Kurulum

npm install @legendapp/state

Kullanım

import { observable } from '@legendapp/state';import { observer } from '@legendapp/state/react';const state$ = observable({ count: 0, user: { name: 'Oğuz' }});const Counter = observer(function Counter() { return ( <View> <Text>{state$.count.get()}</Text> <Button onPress={() => state$.count.set(c => c + 1)} /> </View> );});

Neden Kullanmalısın?

  • Fine-grained updates
  • Boilerplate yok
  • Persist desteği
  • TypeScript first

Link: legendapp.com/open-source/state