A
A
Al2017-10-13 16:57:29
css
Al, 2017-10-13 16:57:29

Online store with Angular, is it a good idea?

If there were no problems with indexing sites by top search engines, completely rendering at the front (when the back gives only json) - then this question would not be relevant. But, since this problem exists, Yandex will certainly not show such a site in the search results, it was proposed to partially implement the functionality in angular.
For example, without any problems, you can file the entire user account, basket, checkout in angular. But what about some elements on the page that you don’t want to do separately from angular using other libraries or write js that works outside of angular. For example, you need to separately make a product search component and a minicart in the header. And if we are on the catalog page, then at the bottom there will still be a listing of products with filters. That is, you may need to render several components on one page, and all of them are not within the same application.
Many will say: "use React, and there will be no problems with this" - I partly agree with this, maybe this is better suited for solving this problem, but at the moment, for some reason, it is angular that interests me.
What do you think about this, maybe someone faced similar questions, or do you have examples of similar sites?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
painmaker, 2019-07-10
@painmaker

https://jsfiddle.net/13qnrbky/

V
Vladimir, 2017-10-13
@Sanu0074

https://universal.angular.io/
if not mastered, then there is always
https://prerender.io/

O
ozknemoy, 2017-10-13
@ozknemoy

for sale, the idea is good only if there is a decent experience in angular. many without experience will not undertake anything, all jquery trash turns out. By the way, there are hybrid sites. for example, Petrovich is in php, but the filter and the basket on the first angular https://petrovich.ru/action_type/burns/ are loaded faster than the server angular 2/4

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question