Esmx is a modern front-end framework based on web standards. It uses native ESM and Import Maps as its core to address the complexities of front-end modularization and micro-frontend architecture.
As the scale and complexity of front-end applications continue to grow, we often encounter the following challenges:
Esmx was created to address these challenges, aiming to provide a clear and unified modular solution by returning to web standards.
Esmx simplifies your development process by returning to web standards in the following ways:
Esmx's modular capabilities are built entirely on the browser's native ESM (ECMAScript Modules). It does not create a new module specification but directly utilizes web standards. The core advantage of this approach is:
Esmx uses Import Maps, an emerging web standard, to manage module dependencies. You can declare the mapping relationship of all modules in a simple JSON file, and the browser will load the correct module version according to this "map".
This provides a standardized, build-tool-agnostic management solution for runtime dependencies, thereby greatly simplifying the dependency relationships between modules and making them clear and controllable.
Esmx's underlying design is decoupled from any specific UI framework (such as Vue, React). It provides a unified module loading and rendering context, allowing you to freely combine and render components from different technology stacks in the same application.
Esmx focuses on the linking and composition of modules and is not tied to any specific build tool. You can freely choose any mainstream tool such as Vite, Rspack, or Webpack to build your modules. As long as the build output is in standard ESM format, Esmx can seamlessly integrate it into your application. This decoupled design provides you with maximum technical flexibility.
Esmx is not a simple encapsulation of existing tools, but a rethinking of the front-end development paradigm. By embracing web standards, it hands over complexity to the browser, allowing developers to return to a purer and more efficient development experience.
Ready to get started? Let's explore the powerful features of Esmx together!