Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typing for createManager #36

Merged
merged 2 commits into from
Jul 17, 2022

Conversation

mrfratello
Copy link
Contributor

No description provided.

Copy link
Collaborator

@BenLorantfy BenLorantfy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @mrfratello , thanks for the fix 🙂

Had one request before merging.

@@ -192,4 +192,4 @@ export function useInjectReducer(options: { key: string, reducer: Reducer }): bo
* @returns {ComponentType<{ children: ReactNode }>} The manager
* @public
*/
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you mind also updating the documentation here: https://github.com/react-boilerplate/redux-injectors/blob/master/src/createManager.js#L4-L21

Unfortunately there's duplicate documentation.

After you update that comment, you can run npm run build:docs and it will update the generated markdown docs

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the review and tips on npm scripts. I also corrected the documentation.

Copy link
Collaborator

@BenLorantfy BenLorantfy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks @mrfratello 🙂

@BenLorantfy BenLorantfy merged commit f037e1a into react-boilerplate:dev Jul 17, 2022
BenLorantfy added a commit that referenced this pull request Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants