S
S
Serik2016-03-25 19:52:53
JavaScript
Serik, 2016-03-25 19:52:53

How to build a modular frontend architecture?

Single page application.
Approximate page structure:
header>menu,slider
content>profile
footer
When the page is navigated, it sends which modules are already available and loads the missing ones, hides the unnecessary ones (but does not delete them). The problem arose when the same module should produce different data. For example, when switching from the profile of one user to the profile of another, the profile module is used on both pages, but the data is needed differently.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail Osher, 2016-03-25
@miraage

angular/react/etc to help.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question