N
N
Nikita Shchypylov2017-07-15 18:51:38
Web development
Nikita Shchypylov, 2017-07-15 18:51:38

What elements should I be migrating from HTML to React?

Hi
Which elements should be moved to React and which should just be wrapped?
For example, menu. Should it be included from react or just HTML?
The question is chaotic, but I +- entered React, but I don’t know why I entered

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alvvi, 2017-07-15
@Nikulio

If it's a SPA, all elements need to be written in React
except where the app is rendered. It doesn't make any sense to write them in .html, neither in terms of performance nor in terms of logic.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question