typescript-fsa icon indicating copy to clipboard operation
typescript-fsa copied to clipboard

Type-safe action creator utilities

Results 10 typescript-fsa issues
Sort by recently updated
recently updated
newest added

*** ☝️ **Important announcement:** Greenkeeper will be saying goodbye πŸ‘‹ and passing the torch to Snyk on June 3rd, 2020! [Find out how to migrate to Snyk and more at...

greenkeeper

Proposed fix for #81

Here's a rough example: ``` // actions.ts import actionCreatorFactory from 'typescript-fsa'; const actionCreator = actionCreatorFactory('tasks'); export const allDone = actionCreator('MARK_ALL_DONE'); export const markDone = actionCreator('MARK_DONE'); // Tasks.tsx interface ITasksProps =...

## The devDependency [rimraf](https://github.com/isaacs/rimraf) was updated from `2.7.1` to `3.0.1`. This version is **not covered** by your **current version range**. If you don’t accept this pull request, your project will...

greenkeeper

I would appreciate the ability to add an optional parameter for mapping the values of an action's payload. This would be useful, for example, for dispatching notifications and assigning them...

Hi, I've just tried updating to TS 3.0.1 and ts-fsa 3.0.0-beta-2, i previously had this generic reducer... ```typescript const mergeResultIntoIndex = (state: Indexed, {result}: Success): Indexed => { return {...

Hi there- Issue: I am unable to pass a TypeScript Type for the `meta` object that an `actionCreator` produces. ---- Example: I want to create async actions for an event...

It would be nice to have an examples folder with a real redux app with all the various ways this can be used and best practices, Esp async stuff. My...

From the [`flux-standard-action`](https://github.com/acdlite/flux-standard-action#errors-as-a-first-class-concept) repo: > Flux actions can be thought of as an asynchronous sequence of values. It is important for asynchronous sequences to deal with errors. Currently, many Flux...

My package, `typescript-fsa-redux-thunk` and my attempts to refactor it have failed, and this also affects `typescript-fsa-reducers`. The best way to explain the errors I'm getting is to post a test...