Ramda's pipe could be use to remove simplify middlewares #224
Unanswered
Yhozen
asked this question in
Show and tell
Replies: 2 comments 12 replies
-
Thanks for opening up a discussion. Some questions in my mind are:
|
Beta Was this translation helpful? Give feedback.
9 replies
-
How should I add persist from zustand middleware using both log and immer from the same example? Is it possible or I should make it manual because of persist's configuration? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
To be honest I fell in love the first time that I used ramda and I feel like the pipe method could add a lot of value to zustand, you can add as many middlewares as you wish as long as create is the last argument.
I would love to open some discussion about how this behavior could be added as a own feature. (It's an overkill to add ramda just to use pipe)
Beta Was this translation helpful? Give feedback.
All reactions