useStateMachine
The <1 kb state machine hook for React (by cassiozen)
plotinus
A searchable command palette in every modern GTK+ application (by p-e-w)
Our great sponsors
useStateMachine | plotinus | |
---|---|---|
13 | 9 | |
2,360 | 1,014 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | almost 3 years ago | |
TypeScript | Vala | |
MIT License | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
useStateMachine
Posts with mentions or reviews of useStateMachine.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-05-22.
-
Typescript Explicit States for pages
I came across this library: useStateMachine which has the closest syntax to what I was hoping to use. I’d like know what the community thinks or has any guides/suggestions.
-
Is it okay to use many useState and useEffect?
Another option is to consider using a state machine with a library like xstate or useStateMachine. I love how state machines can simplify complex states and eliminate impossible states (ex: being in two states at the same time).
-
Think of React Hooks As State Machines, Not Functions
shout out to useStateMachine if you want a powerful state machine in your component
- useStateMachine: A ½kb state machine hook for React
-
Hacker News top posts: May 22, 2021
useStateMachine: A ½kb state machine hook for React\ (27 comments)
- Cassiozen/useStateMachine: The ½ kb state machine hook for React
-
useStateMachine: a 0.5KB state machine hook for React that features entry/exit callbacks, guarded transitions, and extended state
As for a comparison, I wrote about it here https://github.com/cassiozen/useStateMachine/wiki/XState-comparison
- UseStateMachine – a ½ kb, TypeScript-first for Rea
-
Composing UIs with Finite State Machines
In this case, I'm using a useStateMachine hook from a library, just to avoid having to implement the not-so-relevant React part of the state handling. This hook receives the state machine we defined before as a configuration argument.
plotinus
Posts with mentions or reviews of plotinus.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-04.
- ITT we post apps that need a GTK update to Gnome 40+ so people with skills can see which apps need design updates!
- Command Palettes: How Typing Commands Became the Norm Again
-
Plotinus: A searchable command palette in every modern GTK+ application
This code seems to be pretty hacky, it works by injecting a dynamic library into the program and then looping on a timeout to rescan every window and attach a key handler: https://github.com/p-e-w/plotinus/blob/master/src/Keybinder....
-
Hacker News top posts: May 22, 2021
Plotinus: A searchable command palette in every modern GTK+ application\ (10 comments)
- What are your thoughts on having the application menu on the titlebar?
-
Global Menu
Sublime Text is actually a good example showing that the menubar and the command palette are two unrelated things. Sublime Text implements its own command palette, which has nothing to do with the global menu on macOS. A lot of apps do the exact same thing. I don't know why people insist on tying these two features together. You can even get menubar-less GTK apps a command palette with the GTK module Plotinus, without ever having to see a menubar.