Docs
  • RxFx
  • What Problems Does It Solve?
  • How do I get started?
  • Why An Event Bus?
    • Why Not Native DOM Events?
  • Why Observables, not just Promises?
    • Why not raw RxJS?
    • How does RxFx simplify working with Observables?
  • Example Apps
  • Fundamentals
    • Concurrency Modes
    • API Docs
  • Examples
    • Ping Pong (bus.listen)
      • Pure JS
      • Testing Ping Pong
    • Alarm Clock
    • Animation 60FPS
  • Integrations
    • Overview
Powered by GitBook
On this page
  1. Integrations

Overview

PreviousAnimation 60FPS

Last updated 3 months ago

Integrating with any Web Library or Framework simply involves sending events into RxFx and subscribing to the event bus for when to update the UI.

RxFx is a container for async side effects that is framework independent. That is to say - it only depends upon RxJS - a more stable library than any major version of a modern framework. But if you are in a React codebase, for example, you ultimately need to hand React what it needs to update the UI when a listener responds.

RxFx has a demo app - an alarm clock - that has been integrated with:

  • React ()

  • Angular ()

  • Vue ()

  • Svelte ()

This demo app uses the higher-level createService interface, where events are sent using service(request), and state updates recieved via service.state.subscribe(). But if you use the lower level bus.trigger(req) and bus.listen() interfaces, you will still be able to send updates into your framework.

Read on for the framework-specific APIs you can use to start leveraging RxFx and RxJS inside of your specific UI framework.

CodeSandbox
CodeSandbox
CodeSandbox
CodeSandbox