Answer the question
In order to leave comments, you need to log in
How to use rxjs in react?
I need the parent component to follow the function call in the child component.
However, in subscribe in the array, I have a function returned.
How I want my code to behave:
In the parent component, I subscribe to the function of another component.
This function is called on componentDidMount in child component
Here is the link https://codesandbox.io/s/o79139zmzq
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question