react-redux-typescript-guide icon indicating copy to clipboard operation
react-redux-typescript-guide copied to clipboard

The complete guide to static typing in "React & Redux" apps using TypeScript

Results 34 react-redux-typescript-guide issues
Sort by recently updated
recently updated
newest added

I try to integration connect with `redux-thunk`, and overwrite connect function like this: ```js import * as React from 'react' import { connect as reactReduxConnect } from 'react-redux' import {...

https://github.com/Microsoft/TypeScript/issues/13618 Example: We create High-level component package with strong typed how the lower components designed to be. ``` type Avatar: () => JSX.Element; interface ILoginProps { accounts: object; setFormType: Function;...

enhancement
IssueHunt

I have a child component connected by redux ``` ts class Child extends React.Component { foo () {} } export default connect()(Child); ``` and a parent contains it ```ts class...

enhancement
IssueHunt

Although the `onIncrement={onIncrement}` is defined in it's props `return ( );`

I found this document to be very helpful! Thank you for putting it together. It might be useful to add some typescript examples of [recompose](https://github.com/acdlite/recompose/blob/master/docs/API.md)

section
in progress

## Description using `as BaseProps` is incorrect on this line, isn't it? Shouldn't that be `as Diff`? https://github.com/piotrwitek/react-redux-typescript-guide/blob/master/playground/src/hoc/with-connected-count.tsx#L43 As far as I can tell all properties of `InjectedProps` have been...

The [example](https://github.com/piotrwitek/react-redux-typescript-guide#connect-with-react-redux) of `bindActionCreators` does not pass generic parameters. Either, optionally pass only one generic parameter: `bindActionCreators`. Without generic parameters, react component will report not assignable error. The latest redux's...

Hi, Firstly, I have found the patterns in the guide very helpful for configuring actions, epics, reducers etc. However, I do not understand how to dispatch a fetch API request...

First of all, thanks for all the hard work you've put into this fantastic guide; if I had tried to migrate my team's codebase to typescript without `typsafe-actions` it would...

enhancement

Currently the guide has for react components the state type defined up with the props. Instead, I propose its changed to be flipped a bit. For example -> ```jsx type...