Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 2.08 KB

README.md

File metadata and controls

21 lines (16 loc) · 2.08 KB

Everything as a stream

This repository presents a set of code snippets that aim to show how you can utilize RxJS and streams to build an architecture that suits your needs.

The ideas were presented at JSConf US so it's the best to explore the code in this repo along with the talk. It was developed while we embraced functional reactive programming and RxJS to build a new architecture for a large single-page application at Ardoq.

This is mainly meant to supplement the talk. We're currently in the process of packaging some of these methods and patterns as a library with proper tests and documentation.

Code snippets

Utility methods

Custom operators

  • ofType - filter actions emitted from the action$ by a certain type
  • catchErrorLogAndContinue - keeps your stream alive on error, useful to make your streams more robust