Skip to content

issues Search Results · repo:davidkpiano/useEffectReducer language:TypeScript

Filter by

12 results
 (49 ms)

12 results

indavidkpiano/useEffectReducer (press backspace or delete to remove)

Hello, I ve noticed that the last update to this package was some 3 years ago and that was to the README, with any other change outside of this occurring 4 years ago. Given this and issues being raised ...
  • aarr0n
  • 1
  • Opened 
    on Apr 3, 2024
  • #45

Hey @davidkpiano ! First of all, thank you for this awesome reducer! It s the perfect approach for me and my team right now without getting 100% into xstate (yet). Anyways, we are planning on upgrading ...
  • rodrigofariow
  • 2
  • Opened 
    on May 18, 2022
  • #39

I m wondering if it s ok to call dynamic dependencies within effects: const history = useHistory() const queryClient = useQueryClient() const [state, dispatch] = useEffectReducer(reducer, initialState, ...
  • hnordt
  • 3
  • Opened 
    on Jul 9, 2021
  • #31

Hello! First off, love this library so much, it s made my code so much more clean. Simplified reproduction: https://codesandbox.io/s/red-https-bxpo0?file=/src/App.tsx But anyways, I ve run into this ...
  • chrisdhanaraj
  • 3
  • Opened 
    on Aug 18, 2020
  • #18

Would it be possible to expose the prevState to our effects as well? This would allow us to move the decision to run expensive side effects to the effect, instead of having it in the reducer, wrapping ...
enhancement
  • smeijer
  • Opened 
    on Jul 2, 2020
  • #15

The module entry in package.json is: https://github.com/davidkpiano/useEffectReducer/blob/master/package.json#L56 module : dist/useEffectReducer.esm.js , However the built file is: dist/use-effect-reducer.esm.js ...
  • jonbjk
  • 6
  • Opened 
    on Jun 15, 2020
  • #13

In order to see actions in redux devtools.
enhancement
  • lishine
  • 1
  • Opened 
    on May 11, 2020
  • #12

the whole library wants to do something like this function useEffectReducer(notReducer, initialState) { const [state, setState] = useState(initialState); effects const dispatch= (action) = { ...
invalid
  • mohaalak
  • 1
  • Opened 
    on Apr 21, 2020
  • #7

Hi! This implementation has a bug that can cause effects to be permanently skipped. The special flush event clears all pending effects from the queue: https://github.com/davidkpiano/useEffectReducer/blob/17da4f985366ca8d1224e2637f15b7d4acd7f69a/src/index.tsx#L72-L75 ...
bug
  • billyjanitsch
  • 1
  • Opened 
    on Apr 20, 2020
  • #3
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub