-
We should loop at each of the functions in workflow.js as an action creator to the user UI store.
By doing this, the user doesn't need to put this library as a middleware inside his UI store, but a…
-
## Motivation
Ever since hooks and the context API released, I like to use `useContext()` for my global state similar to this:
```jsx
// state.js
import React, {createContext, useContext, useS…
-
When the reducers in a `createSlice` have mixed payload action types, I get weird type errors as of TypeScript 3.4.1 (Maybe 3.4.0 as well, I didn't check).
![image](https://user-images.githubuserco…
-
Following my thoughts at https://github.com/respond-framework/rudy/issues/22, which I got lost in not being certain of which direction to go.
What I want to achieve is being able to change routes o…
-
#### Do you want to request a _feature_ or report a _bug_?
Discussion.
#### What's the current behavior?
When Slate was first created, [Immutable.js](https://facebook.github.io/immutable-js/d…
-
Author: @flashbackzoo @chillu
Status: Pending review
Version: 0.1
## Purpose and Outcome
A SilverStripe CMS powered by a modern frontend JavaScript framework should retain its openness to develo…
-
Let's say I have got a model slice `todos`. I then add a new model slice `toast` for toast notifications. I want the `toast` state to get mutated (and perhaps do async stuff) as a result of `todo` act…
-
Ever since I've used redux, it felt cumbersome and in-transparent to create unique action types.
Sometimes it's easy to come up with a namespace-prefixed action type, sometimes it's really tricky and…
-
As reading from the [docs](http://redux.js.org/docs/recipes/ReducingBoilerplate.html) you could avoid using `switch` with a function that maps action types to handlers. But still I'm not fully convinc…
-
I've just hooked into React Hooks and done some experiments. I'm having some doubts about React's advice on [Building My Own Hooks](https://reactjs.org/docs/hooks-custom.html).
Documentations tells…