What are the pros and cons of react.js writing a website?

at present, the company"s official website is implemented by individuals, mainly static pages, which has now been completed.

the technology used is the most primitive HTML, CSS, js, jquery

but the head of the site is the same as the bottom, and every page is the same. Every time you modify it here, you need to replace it globally, which is still troublesome.

so react.js, is introduced. You only need to define the bottom of the header once in my-react.js, and then introduce it on each page. You can render the same header and bottom

.

the current situation is only partial use of react.js

what are the problems if the website is all implemented by react.js? Tell me about the pros and cons of implementation ?

Mar.10,2021

if you only want to solve the problem of modifying repetitive work in the public part of the page,
you can modify the server configuration slightly. Supporting the html file include
react.js may not be very friendly to seo


analyzing your needs is to solve the same repetitive work of the head and tail. Ejs's include can solve your problem very well.
the advantage of using react is that you can learn from the front-end mainstream framework


to introduce a frame for the head and tail?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e3e27b-43f1e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e3e27b-43f1e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?