본문 바로가기

xstate

(12)
XState와 비동기 2편: XState Actor와 함께 비동기를 안전하게 모델링 원문 보기 Using XState Actors to Model Async Workflows Safely - This Dot Labs In my previous post I discussed the challenges of writing async workflows in React that correctly deal with all possible edge cases. Even for a simple case of a… www.thisdot.co 1편 보기 XState와 비동기 1편: useEffect 안의 비동기 코드는 위험합니다! 원문 보기 Async Code in useEffect is Dangerous. How Do We Deal with It? - This Dot Labs The introduct..
XState와 비동기 1편: useEffect 안의 비동기 코드는 위험합니다! 원문 보기 Async Code in useEffect is Dangerous. How Do We Deal with It? - This Dot Labs The introduction of async/await to Javascript has made it easy to express complex workflows that string together multiple asynchronous tasks. Let's take a look… www.thisdot.co Javascript에 async/await가 도입되면서 여러 비동기 작업을 함께 묶는 복잡한 워크플로를 쉽게 표현할 수 있습니다. const useClient = (user) => { const [client, setClient] = useStat..
XState : 상태 머신과 상태차트 소개 공식 문서를 번역한 내용입니다. Introduction to state machines and statecharts | XState Docs Introduction to state machines and statecharts Statecharts are a visual language used to describe the states in a process. You may have used similar diagrams in the past to design user flows, plan databases or map app architecture. Statecharts are another xstate.js.org 상태 차트는 프로세스의 상태를 설명하는 데 사용되는 시각적 언어입니다. 과거에 유사한 다..
리액트로 XState 시작하기 원문 보기 XState with React for Beginners - This Dot Labs Introduction When I started to learn XState for the first time, I found the docs somewhat difficult to interpret. Perhaps this was because the docs show a… www.thisdot.co XState는 Recoil, Jotai 등에 비해 상대적으로 잘 알려지지 않았으나, 상태 머신, 상태차트의 개념을 활용하여 이벤트 드리븐, 선언적 상태 관리를 실현하는 라이브러리 입니다. 해당 라이브러리의 개발자는 Microsoft 직원이며, 의외로 굉장히 많은 회사에서 해당 라이브러리를 사용하고 있습니다. ..