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

inferno-hydrate

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inferno-hydrate

Hydrate plugin to inferno. This package can be used to reuse server side rendered html

  • 6.0.0-alpha.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
113K
increased by9.03%
Maintainers
1
Weekly downloads
 
Created
Source

inferno-hydrate

Same as render(), but is used to hydrate a container whose HTML contents were rendered by Inferno-server. Inferno will attempt to attach event listeners to the existing markup.

Install

npm install inferno-hydrate

Usage

import { hydrate } from 'inferno-hydrate';

hydrate(
  createElement('div', { className: 'test' }, "I'm a child!"),
  document.getElementById("app")
);

Keywords

FAQs

Package last updated on 04 Sep 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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