B
B
bpGusar2018-06-19 17:49:59
1C-Bitrix
bpGusar, 2018-06-19 17:49:59

How to properly use React on the site if the site itself is not on it?

The site is made on Bitrix, there is an option to use React in one of the places on the site, what is the best way to do this?
The thing is, I know how to make the whole front not react, but I can’t imagine how to use it in pieces on the site.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Spirin, 2018-06-19
@bpGusar

To do this, you just need to look at your code, in which you use React throughout the site. All you do is add a bundle to the document code that, when initialized, renders the application into a tag with a specific selector.
Then think for yourself, the answer lies on the surface.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question