Overview of Hippy Vue CSS Loader
mainhippy-vue-css-loader is a utility designed to convert CSS text into an Abstract Syntax Tree (AST). This conversion allows JavaScript to parse and process CSS within the Hippy Vue ecosystem.repository·main·Indexed 27 days ago
https://github.com/tencent/hippyAn open-source cross-platform development framework from Tencent that allows Web developers using React and Vue to write once and run on iOS, Android, Ohos (OpenHarmony), and Web. It features a decoupled three-layer architecture (Driver, DOM Manager, and Rendering Layer) and supports multiple renderers including Native, Voltron (Flutter), and Web. The ecosystem includes specialized packages such as hippy-react, @hippy/vue-next, hippy-vue-router, and a dedicated DevTools Backend for debugging.
hippy-vue-css-loader is a utility designed to convert CSS text into an Abstract Syntax Tree (AST). This conversion allows JavaScript to parse and process CSS within the Hippy Vue ecosystem.Hippy is an open-source cross-platform application development solution from Tencent. It acts as a lightweight browser engine that abstracts differences between iOS, Android, and Ohos (OpenHarmony).
Key Features:
hippy-vue-router is the official router for hippy-vue. It is a fork of vue-router specifically designed to work within the Hippy native environment. It supports all standard vue-router features and adds native-specific capabilities:
hippy-vue apps.WebRenderer solution introduces a conversion layer based on a common communication protocol. This allows developers to write business logic using standard Hippy syntax, which is then mapped to JS-implemented components and modules. This architecture enables compatibility across different frameworks like React, Vue, or other third-party libraries.Use hippy-react to write Hippy cross-platform applications using React. This binding provides several optimized features for the Hippy runtime:
ListView for high-performance list rendering.For detailed setup and implementation guides, refer to the official Hippy-React documentation at https://hippyjs.org/#/hippy-react/introduction.
@hippy/vue-next-server-renderer package provides the server-side rendering (SSR) functions required to render @hippy/vue-next applications on a server.Version 3.0 introduces several new capabilities:
Flatten UI is a UI hierarchy optimization solution introduced in Hippy 3.0. Unlike version 2.0, which only optimized nodes that participate in layout, 3.0 allows child elements to be rendered directly onto the parent view. This significantly reduces the depth of the terminal UI hierarchy.
Optimization Stages:
@hippy/react-web is a web adapter designed to allow hippy-react applications to run in a web browser. It maintains the same interface as hippy-react, enabling cross-platform code reuse between native Hippy environments and the web.In the Hippy 2.0 architecture, the JS runtime environment is composed of three main parts:
hippy-react and hippy-vue that encapsulate Hippy's base functions and protocols.setTimeout) and environment variables required for UI frameworks to run.