react-gateway
Advanced tools
Comparing version 2.0.0 to 2.0.1
{ | ||
"name": "react-gateway", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Render React DOM into a new context", | ||
"main": "index.js", | ||
"main": "lib/index.js", | ||
"scripts": { | ||
@@ -7,0 +7,0 @@ "build": "babel src -d lib", |
@@ -31,17 +31,19 @@ # React Gateway | ||
<GatewayProvider> | ||
<h1>React Gateway Universal Example</h1> | ||
<div className="container"> | ||
<Gateway into="one"> | ||
<div className="item">Item 1</div> | ||
</Gateway> | ||
<Gateway into="two"> | ||
<div className="item">Item 2</div> | ||
</Gateway> | ||
<Gateway into="one"> | ||
<div className="item">Item 3</div> | ||
</Gateway> | ||
<div className="item">Item 4</div> | ||
<div> | ||
<h1>React Gateway Universal Example</h1> | ||
<div className="container"> | ||
<Gateway into="one"> | ||
<div className="item">Item 1</div> | ||
</Gateway> | ||
<Gateway into="two"> | ||
<div className="item">Item 2</div> | ||
</Gateway> | ||
<Gateway into="one"> | ||
<div className="item">Item 3</div> | ||
</Gateway> | ||
<div className="item">Item 4</div> | ||
</div> | ||
<GatewayDest name="one" tagName="section" className="hello"/> | ||
<GatewayDest name="two"/> | ||
</div> | ||
<GatewayDest name="one" tagName="section" className="hello"/> | ||
<GatewayDest name="two"/> | ||
</GatewayProvider> | ||
@@ -53,2 +55,23 @@ ); | ||
Will render as: | ||
```js | ||
<div> | ||
<h1>React Gateway Universal Example</h1> | ||
<div className="container"> | ||
<noscript></noscript> | ||
<noscript></noscript> | ||
<noscript></noscript> | ||
<div className="item">Item 4</div> | ||
</div> | ||
<section className="hello"> | ||
<div className="item">Item 1</div> | ||
<div className="item">Item 3</div> | ||
</section> | ||
<div> | ||
<div className="item">Item 3</div> | ||
</div> | ||
</div> | ||
``` | ||
## Usage | ||
@@ -55,0 +78,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
17835
175
0