unstated-next icon indicating copy to clipboard operation
unstated-next copied to clipboard

Can we pass just functions or states to a component

Open ilkerceng opened this issue 5 years ago • 1 comments

Is it possibble to pass only functions to a component or can i pass just the states? Like redux mapDispatchToProps and mapDispatchToState functions. For example, if have a component containing just buttons to change state, and i don't want to rerender the component containing buttons, what should i do then? Thanks.

ilkerceng avatar May 26 '19 09:05 ilkerceng

I'm confused about that, too

ks-stack avatar Apr 12 '20 14:04 ks-stack