recently, a problem has been found in the project of rendering all ends of the server with nuxt.js. For example, there are multiple concurrent requests on a page, and as long as there is a problem with one request, the whole page will not work. When rend...
I now pass the data to the component through context of StaticRouter , and then in the componentWillMount of the component, get staticContext through this.props . but when you refresh the page, you will see that the page is filled with data on...
1 how to add unit tests and E2E tests to an existing project (are there any other tests) a. How do unit tests divide units? so many function points each function point is a series of processes how to ensure coverage? b.e2e test determines which interac...
as the title, seo asks that the rendered page be clean. The result of the current vue-ssr is that the data is saved in the < script > window.__INITIAL_STATE__= [data] < script > of the page. Is there a way to put these data in the json file , and ...
the original react single-page application of SPA has been changed to server rendering page according to the demo, on the Internet. However, opening the corresponding route through node and checking the source code with ctrl+u is still the most original...
in the past, in the react SPA project, I would listen for changes in parameters through the react lifecycle, and then re-request data, but the server rendering does not have this lifecycle, how can I listen? original code: componentWillReceiveProps(ne...
vue and react use ssr (server-side rendering) to solve seo and first-screen rendering solutions. this extends the problem. 80% of the data after http or other network requests is duplicated, and http caching is also a big problem? how do you solve the...
the react development used for the company s news and information projects did not take into account the seo problem at that time, but now the company needs to consider seo. It is generally said to use server rendering on the Internet. I would like to a...
import * as React from react ; import { connect } from react-redux ; import * as CSSModules from react-css-modules ; const styles = require( . index.css ) const Home = () => { return ( <div> 11111 < div> ) } expor...
can the elementUI, ele.me plug-in be used only in vue? Can I use template rendering? ...
recently encountered a demand, the react project needs to add a rich text editor, there are many online, to find a braft-editor, their own new project to use no problem. However, when adding to the project, because the project uses server rendering (jus...