K
K
KirylLapouski2018-02-08 15:52:22
JavaScript
KirylLapouski, 2018-02-08 15:52:22

How to pass data to a view in react?

It is necessary to make a task manager on react. There is a component - a container of tasks, which should send different requests to the server to obtain data about the tasks that need to be displayed. How, when requesting a page with a task manager, in addition to the page itself, also give a link to which the container should point?
PS The only way I know of to pass information to a component is an attribute of that component. But you can set the attribute only on the client, since the page is rendered dynamically on this very client.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitrij, 2018-02-09
@Vahmur

Put something in window on page start?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question