re: React Higher-Order Components in TypeScript made simple VIEW POST

TOP OF THREAD FULL DISCUSSION
re: If you need to interact with props or states from here, the only way to do it is to specify options as functions, that take the props or states as ...
 

What kind of issues are you having?

The idea is that you pass something like this to the config:

const config = {
  someSetting: props => { /* get some value or something */ }
}
code of conduct - report abuse