W
W
Wayer2018-04-20 17:32:54
JavaScript
Wayer, 2018-04-20 17:32:54

How can one call one application from another without reloading the page?

There are several applications: App1, App2.
Both can be reached using different routes /app1+(/route) and /app2/:param+(/route). Some views of App1 have direct links to App2 with a parameter.
The problem is that both App1 and App2 take a long time to load, besides, each of them has its own history and its own store, and App2's history.basename is determined by the passed parameter.
In general, my question is obvious: how can I deal with these applications so that in App1, in a certain click on the container, referring to App2, the page is not reloaded? I tried dynamic loading, but they have their own props and I couldn’t figure it out properly. Maybe there are some examples of combining SubApp?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
rPman, 2018-04-22
@rPman

Without regard to wording (you call a web page applications), there is an ancient way to open a page in frames, i.e. two applications running at the same time, if both applications are yours, you can control which links in which frame to open.
ps it will be very sad for us to live in the future, the entire application is on the web, nowhere is clumsier.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question