Giter VIP home page Giter VIP logo

redux-typed's Introduction

๐Ÿ‘‹ Hello! I'm Cory.

Personal Site โ€ข Twitter โ€ข Youtube โ€ข Github โ€ข LinkedIn


I'm the CTO at Rapptr Labs where I manage a group of 35 engineers. While I am not managing, I spend a lot of my time working with React, React Native, and GraphQL backends. I do a lot of youtube videos. If you have any other questions, feel free to reach out.

  • ๐ŸŒฑ Iโ€™m currently learning Prisma client, PostgresQL, K8's, and Swift.
  • ๐Ÿ’ฌ Ask me about React, React Native, or GraphQL!
  • ๐Ÿ“ซ How to reach me: @cmcaboy
  • โญ๏ธ My first open source repo: react-fa-icon-picker
  • ๐Ÿ˜„ Pronouns: he/him

redux-typed's People

Contributors

cmcaboy avatar flextremedev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

redux-typed's Issues

How could a thunk action creator be dispatched from another thunk action creator?

For example, in the file: src/actions/expenses.ts
Let's say that I add an "alert" action creator to that file. And, alert is a thunk.
How could I dispatch alert from startAddExpense without raising a TypeScript error?
Is there a new type or interface that could be added to actions.ts?

When I add dispatch(alert()); to startAddExpense, I get the error:
`Argument of type '(dispatch: Dispatch, getState: () => CombinedState<{ foo: IFooReducer; bar: IBarReducer; }>) => Promise<...>' is not assignable to parameter of type 'AppActions'.

I've been experimenting with adding different types to AppActions, but haven't found the right recipe so far.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.