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

immview

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

immview

**Immview** is a library to create `Domain`s - *non-visual components* - similar to flux stores, exposing their **state** or emitting **signals** through `Observable`s pushing values and having specific to their concerns **actions**. Their primary role is

  • 2.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Immview 2

Immview is a library to create Domains - non-visual components - similar to flux stores, exposing their state or emitting signals through Observables pushing values and having specific to their concerns actions. Their primary role is to encapsulate a concern and to be the only thing exported from a javascript module or modules that deal with the concern.

It completely replaces any flux implementation or Redux.

All Domains must be provided with a single stream of values (so either Origin or any other transformed Observable), but not all Observables must be attached to a Domain - you can perform many transformations on a source before it is exposed through a Domain.

TypeScript

Immview has been built with TypeScript. You do not have to use it, but some editors may offer better experience.

For RxJS users

If you are familiar with RxJS 5, an Immview taste of Observable does not have a different meaning or role, although behaviour differs and is more similar to RxJS's Subject Also, just as RxJS 5, it mimics TC39 Observable proposal interface.

Quick overview

const Foos = new Observable()
const FooSenderDomain = Domain.create(Foos, {
  send() {
    Foos.next('foo')
  }
})

// register observers
FooSenderDomain.subscribe(v => console.log(v))
FooSenderDomain.map(v => v + 'bar').subscribe(v => console.log(v))

FooSenderDomain.send()
// prints: foo
// prints: foobar

Installation

Immview is registered on NPM.

npm i immview --save

Presentation

If you are using React to create presentation layer of your app you should check immview-react-connect

Read more

For 1.x versions

Compatibility

Not compatible unless:

FAQs

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

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