@microzord/react
Advanced tools
Comparing version 2.0.1 to 2.2.0
@@ -18,3 +18,3 @@ import { Application, MicrozordLifecycleEvent } from '@microzord/core'; | ||
***************************************************************************** */ | ||
/* global Reflect, Promise, SuppressedError, Symbol */ | ||
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */ | ||
@@ -50,3 +50,3 @@ | ||
this.root.render(element); | ||
//https://github.com/reactwg/react-18/discussions/5#discussioncomment-796012 | ||
// https://github.com/reactwg/react-18/discussions/5#discussioncomment-796012 | ||
requestIdleCallback(() => { | ||
@@ -53,0 +53,0 @@ this.emitHook(MicrozordLifecycleEvent.bootstrapped()); |
{ | ||
"name": "@microzord/react", | ||
"version": "2.0.1", | ||
"dependencies": { | ||
"@microzord/core": "2.0.1" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"license": "Apache-2.0", | ||
"version": "2.2.0", | ||
"keywords": [ | ||
@@ -20,6 +13,5 @@ "microfrontends", | ||
], | ||
"authors": [ | ||
"Igor Katsuba <katsuba.igor@gmail.ru>", | ||
"Roman Sedov <79601794011@ya.ru>" | ||
], | ||
"homepage": "https://taiga-family.github.io/microzord", | ||
"repository": "https://github.com/taiga-family/microzord", | ||
"license": "Apache-2.0", | ||
"contributors": [ | ||
@@ -30,7 +22,18 @@ "Igor Katsuba <katsuba.igor@gmail.ru>", | ||
], | ||
"repository": "https://github.com/taiga-family/microzord", | ||
"homepage": "https://taiga-family.github.io/microzord", | ||
"dependencies": { | ||
"@microzord/core": "^2.2.0" | ||
}, | ||
"peerDependencies": { | ||
"@microzord/core": ">=2.2.0" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"authors": [ | ||
"Igor Katsuba <katsuba.igor@gmail.ru>", | ||
"Roman Sedov <79601794011@ya.ru>" | ||
], | ||
"module": "./index.esm.js", | ||
"type": "module", | ||
"main": "./index.esm.js" | ||
} | ||
} |
@@ -9,9 +9,13 @@ # <img src="apps/demo/src/assets/images/microzord.png" alt="microzord logo" width="36px"> microzord | ||
It is a small tool that allows you to add and render multiple apps on one page. It has simple ideomatic APIs for all modern frameworks and builds bridges between them. | ||
It is a small tool that allows you to add and render multiple apps on one page. It has simple ideomatic APIs for all | ||
modern frameworks and builds bridges between them. | ||
🧙 **Framework agnostic**. You can have an Angular application with a React app header and a Vue app footer. Each app can have endless amount of nested apps inside. There are also wrappers for every modern framework with simple API. | ||
🧙 **Framework agnostic**. You can have an Angular application with a React app header and a Vue app footer. Each app | ||
can have endless amount of nested apps inside. There are also wrappers for every modern framework with simple API. | ||
🧩 **Modular**. You can insert another app in your app in any place as an ordinary component. Use the same methods to bind data and to handle its events. | ||
🧩 **Modular**. You can insert another app in your app in any place as an ordinary component. Use the same methods to | ||
bind data and to handle its events. | ||
🐝 **Tiny as a bee and works as well**. No new code in the bundle of child application and a bit more than 1 KB library for host application to get all the benefits! | ||
🐝 **Tiny as a bee and works as well**. No new code in the bundle of child application and a bit more than 1 KB library | ||
for host application to get all the benefits! | ||
@@ -58,3 +62,6 @@ ## Angular version support | ||
<footer microzordApp="vue-footer-app" (hook)="onFooterLifecycleEvent($event)"></footer> | ||
<footer | ||
microzordApp="vue-footer-app" | ||
(hook)="onFooterLifecycleEvent($event)" | ||
></footer> | ||
``` | ||
@@ -61,0 +68,0 @@ |
@@ -1,3 +0,3 @@ | ||
import { ApplicationConstructor } from '@microzord/core'; | ||
import { ReactElement } from 'react'; | ||
import type { ApplicationConstructor } from '@microzord/core'; | ||
import type { ReactElement } from 'react'; | ||
export declare function createApp<P>(name: string, element: ReactElement<P>): ApplicationConstructor; |
20126
7
147
2
+ Added@microzord/core@2.2.0(transitive)
- Removed@microzord/core@2.0.1(transitive)
Updated@microzord/core@^2.2.0