Socket
Socket
Sign inDemoInstall

frint-component-handlers

Package Overview
Dependencies
3
Maintainers
8
Versions
39
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    frint-component-handlers

Component handlers package for Frint


Version published
Weekly downloads
224
increased by180%
Maintainers
8
Install size
9.87 MB
Created
Weekly downloads
 

Changelog

Source

v5.7.2 (2018-09-11)

Pull Requests
  • frint-react
    • #439 Fix getMountableComponent type changing to React.SFC. (@noisae)
Committers: 1

Readme

Source

frint-component-handlers

npm

Component handlers package of Frint


Guide

This package is aimed at enabling other reactive rendering/templating libraries integrate with FrintJS, and not to be used directly by developers in their applications.

For example, take a look at frint-react for its implementation using this package internally.

Installation

With npm:

$ npm install --save frint-component-handlers

API

RegionHandler

RegionHandler

Handler for creating Region component.

ObserveHandler

ObserveHandler

Handler for creating observe higher-order component.

RegionService

RegionService

If your App wishes to receive data coming from the Region component it's rendered in, RegionService is your way to access it.

Methods exposed by the instance:

emit

emit(props)

The props that need to be emitted (Region component uses it internally).

Arguments
  1. props (Object)
Returns

void.

getProps$

getProps$()

Returns

Observable: of emitted props from the Region component.

getData$

getdata$()

Returns

Observable: of the data prop from the Region component.

Keywords

FAQs

Last updated on 11 Sep 2018

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc