Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-gateway

Package Overview
Dependencies
Maintainers
4
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-gateway - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

4

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc