# glass-easel New WeChat Mini Program Component Framework
glass-easel Is the core implementation of the Mini Program component framework. It is essentially a JavaScript The component interface framework is used to develop the component and definition interface.
glass-easel Is a rewrite of the old version of the Mini Program Component Framework, maintaining compatibility with the old version of the Mini Program Component Framework features, and adding some new features. It does not depend on the Mini Program environment at runtime and can run independently on the web Or other JavaScript Environment.
# Main features
glass-easel Can have the same component code run on the web Small programs in different environments.
back-end yes glass-easel An important concept that represents the operating environment of a component system. in web The backend is the browser s DOM interfaceWhen running in an Mini Program environment, the back end is the Mini Program interface. This allows (backend agnostic) component code to run in different environments.
glass-easel Complete with Mini Program custom component-related features, such as component templates, communication and events, life cycle, and so on. In addition, glass-easel Also implements some practical new features that also have better TypeScript Support.
glass-easel Using single component node tree update algorithm (generally follow the old version of the Mini Program component framework update algorithm), with balanced performance, suitable for highly componentized development.
glass-easel The component framework is [GitHub](https://github.com/WeChat mini-program /glass-easel) On open source, the code and more detailed documentation, examples, etc. can be found at GitHub Found on.
# Adaptation guidelines
glass-easel Adaptation guidelines Lists a number of components that compare to the existing framework _exparser _ The logic that needs to be changed can be used to migrate existing Mini Programs to the new framework or to quickly understand the differences between the old and new frameworks.