Discover and read the best of Twitter Threads about #Zustand

Most recents (4)

State management is a critical part of web development, and it can be challenging to get right. Fortunately, there are several open-source libraries that can help make it easier. Here are 5 top state management libraries that every web developer should know:
#stateManagement
First up is #Zustand. This library is lightweight and flexible, making it an excellent choice for small to medium-sized applications. It uses React hooks for state management, which makes it easy to integrate with React projects. Check it out at zustand.surge.sh
Next is #XState, which is a state machine library that makes it easy to manage complex application state. It uses finite state machines to model state transitions, making it a powerful tool for building robust applications. Check it out at xstate.js.org
Read 7 tweets
Why you may want to use #ReactNative in 2022. A thread.

Pros:
- Lots of big companies use it and provide great experiences: Microsoft, Tesla, Discord (excellent), Shopify
- Active community
- Atwood's Law: "Any application that can be written in JavaScript, will eventually be written in JavaScript."
- React's state management framework is still a million years ahead of SwiftUI/UIKit. Recently I tried #zustand recommended by @GeekPlux.
The more I used this framework, the more I regret how much time I've wasted on Apple's toy framework. Totally unnecessary.
- In scenarios where it doesn't fit, you can fall back to the system native solution

Cons:
- Adds a lot of compile time.
Read 10 tweets
简单说说为什么还想在 2022 年用 React Native?

Pros:
- 很多大公司都在使用,并且体验都很棒:微软,特斯拉,Discord(极佳),Shopify(目前还不是用户)
- 社区活跃
- Atwood's Law: “Any application that can be written in JavaScript, will eventually be written in JavaScript.”

(1/N)
Pros (cont'd):
- React 的状态管理框架依旧领先 SwiftUI/UIKit 一万年。最近使用 @GeekPlux 推荐的 #zustand 越多,越后悔自己在苹果的玩具框架上浪费了太多时间。完全没必要
- 在不适合的场景,都可以 fallback 到系统 native solution

(2/N)
Cons:
- 增加了不少编译时间,不过可以用一些 hack 比如打包 React Native 为 xcframework 来解决。
- Meta(FB)未来是否会维护存疑,但是这个问题在 5 年内应该都不用太担心。这也是开源框架的好处。对比 SwiftUI 这些年的迭代,优势尤为明显
- 社区轮子比较混乱。这也是社区活跃的一种表现

(3/N)
Read 5 tweets
#AusGruenden

Unfassbar, dass das 11/2021 notwendig ist:

Die GESAMTKAPAZITÄTEN der #Intensivbetten werden INTERDISZIPLINÄR koordiniert, täglich besprechen wir uns hierzu mit den chirurgischen Kollegen:innen.

➡️ VOLL ist daher VOLL, unabhängig von der ERKRANKUNG.

1 #thread 🧵:
Das ist überhaupt nichts Neues, sondern normaler Alltag, seit es #Intensivstationen gibt.

Ist die operative Intensivstation voll, betreuen wir bsp. den Patienten mit Polytrauma, nach stattgehabter chirurgischer Primärversorgung.

Sind wir voll, wird Patient m. Pneumonie von den
Anästhest:innen betreut, in täglichem interdisziplinärem fachlichem Austausch.

Somit ist es FALSCH und GEFÄHRLICH zu denken, die Kapazitäten wären unterschiedlich.

Der klinische #Zustand (Schock? Sauerstoffversorgung?...) bestimmt ob ein Patient auf einer #Intensivstation
Read 11 tweets

Related hashtags

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!