👿 Simple micro-front-end framework.
Berial is a new approach to a popular idea: build a javascript framework for front-end microservices.
There are any wonderful features of it, such as Asynchronous rendering pipeline, Web components (shadow DOM + scoped css), JavaScript sandbox (Proxy).
Note: different from fre, Berial will pay attention to business value.
<one-app></one-app>
<two-app></two-app>
<script type="module">
import { register } from 'berial'
register([{
name: 'one-app'
url: '1.html'
allowList: {} // 沙箱白名单
},{
name: 'two-app'
scripts: ['2.js'] // 可选
}])
</script>
MIT ©yisar ©h-a-n-a