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

render-it-client

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

render-it-client

[![npm version](https://badge.fury.io/js/render-it-client.svg)](https://badge.fury.io/js/render-it-client)

  • 0.0.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

render-it-client

npm version

About

Functions 'createComponent', 'hydrate', and dynamically imported, optional helpers for client side rendering.

Installation

npm i render-it-client -S

Details

Package exports:

  • function 'buildCreateComponent',
  • function 'enqueueScript',
  • function 'hydrate',
  • types / interfaces:
    • ClassNames,
    • ComponentFunction,
    • ComponentProps,
    • Flex,
    • HTMLAnchorElementAttributes,
    • HTMLElementAttributes,
    • HTMLElementProps,
    • HTMLInputType,
    • HTMLTag,
    • Helpers,

Function buildCreateComponent can be provided with object parameter with the following keys:

  • options = [],
  • globals = { createComponent: true, helpers: false, }.

Array 'options' defines which of the optional helpers should be dynamically imported:

  • controlBodyScroll,
  • controlInternalState,
  • enqueueScript,
  • modifyBodyClassList,
  • windowEventsPublisher,
  • documentEventsPublisher.

Object 'global' decides whether 'createComponent' xor 'helpers' should be global objects.

Dependencies

  • publisher-subscriber-pattern
  • rendering-recursive-client-side
  • rendering-recursive-server-side

DevDependencies

  • typescript
  • webpack
  • babel
  • mocha
  • chai
  • sinon
  • eslint
  • lerna

lerna coded with love

FAQs

Package last updated on 29 Oct 2019

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