I have added a little something to the documentation that would have helped me massively in understanding. (and would have saved me 30 min)
i wasn't clear if TOGGLE is something that comes from the library or if it is for the user to choose.. until i realized how it relates to send() and that it always refers to the current state.
this was not immediately obvious to me. Maybe it is for others. Take it or leave it. Thanks for the nice work, fits exactly my react usecases!
I have added a little something to the documentation that would have helped me massively in understanding. (and would have saved me 30 min)
i wasn't clear if TOGGLE is something that comes from the library or if it is for the user to choose.. until i realized how it relates to send() and that it always refers to the current state.
this was not immediately obvious to me. Maybe it is for others. Take it or leave it. Thanks for the nice work, fits exactly my react usecases!