How to works
Minimize style recalculations
跳转到“Minimize style recalculations”Each time the page renders, the browser needs to re-layout the entire web page, and the system consumes a lot of resources for recalculation. SPZ introduces a powerful layout system that allows the browser to better infer the sizing of elements, reducing style recalculations.
Out of the box
跳转到“Out of the box”SPZ has a set of high-quality components, such as spz-carousel
, spz-list
, spz-youtube
, and so on.
Asynchronous Javascript
跳转到“Asynchronous Javascript”Put all Javascript (including third-party) into web worker for execution, it will not block DOM loading.
Load on demand
跳转到“Load on demand”Only load the required component resources, other unused resources will not be loaded.