Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【自荐】【开源】渐进式微前端库 - obvious.js #1899

Open
run-nan opened this issue Aug 19, 2021 · 2 comments
Open

【自荐】【开源】渐进式微前端库 - obvious.js #1899

run-nan opened this issue Aug 19, 2021 · 2 comments

Comments

@run-nan
Copy link

run-nan commented Aug 19, 2021


介绍

obvious是一个渐进式微前端库,在微前端架构中,obvious专注于解决前端微应用的依赖编排和应用间的通信问题,同时提供中间件机制方便接入应用隔离,自动注册等功能。旨在通过简洁易懂,符合编程直觉的API以及灵活的中间件机制,帮助用户快速搭建好基础微前端体系,并支持进行更深层次地定制,从而实现完整可靠的微前端架构

特性

  • 提供基于全局状态,事件广播,事件单播的通信机制
  • 支持在定义微应用时声明依赖,当激活一个微应用时,其依赖将被自动激活,从而在设计前端项目时,能灵活拆分和组合各个微应用
  • 提供灵活的中间件机制:用户可以通过编写中间件的方式灵活控制微应用的资源加载和执行过程,从而优雅地拓展出自动注册微应用资源,日志,html-entry和js沙箱等功能
  • 不同于single-spa,本库天然支持在一个页面中加载多个微应用,微应用激活条件不再局限于路由变化,基于本库可以封装出高阶的微前端单页应用框架
  • 概念简单易懂,函数式API简洁明了,学习之后完全可以脱离文档开发
@zhaoshouhang
Copy link

感觉很强

@naecoo
Copy link

naecoo commented Aug 28, 2021

学习一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants