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

frint-component-handlers

Package Overview
Dependencies
Maintainers
8
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

  • 5.7.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
101
increased by62.9%
Maintainers
8
Weekly downloads
 
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
  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

Package last updated on 11 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