ReactRx
GitHubGitHub (opens in a new tab)
  • Introduction
  • Guide
  • API
  • Examples
    • Simple
    • Advanced counters
    • Error handling
    • Todo app
    • Animation
    • React context
    • Sync rendering
    • Event Handlers
    • Fetch
    • Form Data
    • Search
    • Use Observable
Question? Give us feedback → (opens in a new tab)Edit this page
Examples
Sync rendering
import {rxComponent} from 'react-rx-old'
import {from} from 'rxjs'

const Sync = rxComponent(
  from([
    'This',
    'will',
    'only',
    'render',
    'once!',
  ]),
)

export default Sync

Open on CodeSandboxOpen Sandbox
React contextEvent Handlers

MIT 2024 © Sanity.