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

@appbaseio/reactivebase

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@appbaseio/reactivebase

Data components for building reactive UIs

  • 0.1.2
  • npm
  • Socket score

Version published
Weekly downloads
119
increased by250%
Maintainers
4
Weekly downloads
 
Created

Data components for building reactive UIs

Installation

npm install --save @appbaseio/reactivebase@latest

Using It

import {
  ReactiveBase,
  DataSearch,
  ResultList
} from @appbaseio/reactivebase;
<ReactiveBase
	appname="reactivemap_demo"
	username="y4pVxY2Ok"
	password="c92481e2-c07f-4473-8326-082919282c18"
	type="car">
	<div className="row">
		<div className="col s6 col-xs-6">
			<DataSearch
				appbaseField={venue_name_ngrams}
				sensorId="VenueSensor"
				searchInputId="CityVenue"
				placeholder="Search Venue"
			/>
		</div>

		<div className="col s6 col-xs-6">
			<ResultList
				sensorId="SearchResult"
				appbaseField={group.group_topics.topic_name_raw}
				title="Meetups"
				sortBy="asc"
				from={0}
				size={20}
				onData={this.onData}
				depends={{
					VenueSensor: {"operation": "must"}
				}}
			/>
		</div>
	</div>
</ReactiveBase>
// all the result updates are shown here
this.onData = function(res) {
	console.log(res);
}

FAQs

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