New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

frint-component-handlers

Package Overview
Dependencies
Maintainers
6
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

frint-component-handlers

Component handlers package for Frint

2.9.0-alpha.2d26e4d7
canary
Source
npm
Version published
Maintainers
6
Created
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
  • 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

frint

FAQs

Package last updated on 26 Sep 2017

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