N
N
nurzhanov_d2018-10-29 13:10:14
React
nurzhanov_d, 2018-10-29 13:10:14

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 question

Ask a Question

731 491 924 answers to any question