Two state to one component #705

Closed
opened 2025-08-09 17:17:21 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @SpyRefused on 5/30/2017

Hello; I'm quite new to React & Redux. I have taken the spa template React & Redux as a template to develop my app, I have a question I can not solve:

The props of the components are defined as "type", would not be much better as "interface"?

I can not send two ApplicationState state to a single component. That is, starting from the template, in what way can I send FectchData props their own state and Counter state? (If this has any sense....)

Thanks!

*Originally created by @SpyRefused on 5/30/2017* Hello; I'm quite new to React & Redux. I have taken the spa template React & Redux as a template to develop my app, I have a question I can not solve: The props of the components are defined as "type", would not be much better as "interface"? I can not send two ApplicationState state to a single component. That is, starting from the template, in what way can I send FectchData props their own state and Counter state? (If this has any sense....) Thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#705
No description provided.