yieldmachine icon indicating copy to clipboard operation
yieldmachine copied to clipboard

Components for State Machines, using Generator Functions

Results 34 yieldmachine issues
Sort by recently updated
recently updated
newest added

- https://egghead.io/lessons/express-course-overview-web-security-essentials Add machines that demonstrate common attacks, and what they exploit. Then show machines that protect against these attacks. Also provide Playwright scripts that demonstrate the attacks.

https://github.com/andyjakubowski/statechart-watch

- https://github.com/react-hookz/web - https://react-hookz.github.io/web/?path=/docs/navigator-usenetwork--example & https://developer.mozilla.org/en-US/docs/Web/API/Navigator/onLine - https://react-hookz.github.io/web/?path=/docs/sensor-useintersectionobserver--example - https://react-hookz.github.io/web/?path=/docs/navigator-usepermission--example - https://react-hookz.github.io/web/?path=/docs/dom-useeventlistener--example - https://react-hookz.github.io/web/?path=/docs/dom-usekeyboardevent--example - https://react-hookz.github.io/web/?path=/docs/sensor-usemeasure--example

~~~javascript const songID = Symbol(); yield path(['song', songID]); ~~~

See: https://github.com/davidkpiano/xstate/discussions/2178#discussioncomment-713202

- https://www.html5rocks.com/tutorials/eventsource/basics/ ~~~js const machine = start(Machine); const eventSource = new EventSource(); machine.receiveFrom(eventSource); const messagesKey = Symbol("messages"); function* Machine() { yield listenTo(eventSource, "open"); yield on(new Map([["type", "error"], ["readyState", EventSource.CLOSED]]), Closed);...

https://eugenkiss.github.io/7guis/tasks/ https://blog.axlight.com/posts/learning-react-state-manager-jotai-with-7guis-tasks/

https://twitter.com/chriscoyier/status/1438260193175932939 "Lucy compiles to XState" ![image](https://user-images.githubusercontent.com/2635733/133531552-8ecb59ec-cc18-4eb1-8c20-af5ccb4233c6.png)

- https://xstate.js.org/docs/guides/hierarchical.html

- e.g. Analytics - Show how to avoid duplication