Giter VIP home page Giter VIP logo

react-rx's Introduction

CI & Release npm version

react-rx-some-smaller

Hooks and utilities for combining React with RxJS Observables

Features:

  • Works well with Observables emitting values synchronously. You don't pay the re-render-on-mount tax.
  • Lightweight. Implemented on top of a small React Hook based core.
  • Full TypeScript support.

This package offers two slightly different utilities for working with RxJS and React:

  • A set of utilities for creating Reactive components
  • A set of React hooks for using with observables with React

Although they share a lot of similarities, and reactiveComponent is built on top of useObservable are not intended to be used together inside the same component as they represent two different programming styles.



Contributing and publishing new versions to npm

Run the "CI & Release" workflow. Make the default branch, current, should be preselected. Check "Release new version" and press "Run workflow'.

Semantic release will only release on configured branches, so it is safe to run release on any branch.

react-rx's People

Contributors

bjoerge avatar filipchalupa avatar github-actions[bot] avatar renovate[bot] avatar rexxars avatar runeb avatar semantic-release-bot avatar stipsan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

react-rx's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.


Using a curated preset maintained by


Sanity: The Composable Content Cloud

Pending Approval

These branches will be created by Renovate only once you click their checkbox below.

  • chore(deps): lock file maintenance

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

Detected dependencies

github-actions
.github/workflows/ci.yml
  • actions/checkout v3@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
  • actions/setup-node v3@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d
  • EndBug/add-and-commit v9@1bad3abcf0d6ec49a5857d124b0bfb52dc7bb081
  • actions/checkout v3@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
  • actions/setup-node v3@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d
  • actions/checkout v3@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
  • actions/setup-node v3@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d
npm
package.json
  • observable-callback ^1.0.2
  • use-sync-external-store ^1.2.0
  • @sanity/semantic-release-preset ^2.0.5
  • @testing-library/dom ^8.20.1
  • @testing-library/react ^13.4.0
  • @types/jest ^29.5.3
  • @types/react ^18.2.20
  • @types/react-dom ^18.2.7
  • @types/use-sync-external-store ^0.0.3
  • @typescript-eslint/eslint-plugin ^5.62.0
  • @typescript-eslint/parser ^5.62.0
  • eslint ^8.47.0
  • eslint-config-prettier ^8.10.0
  • eslint-plugin-prettier ^4.2.1
  • eslint-plugin-react ^7.33.2
  • eslint-plugin-react-hooks ^4.6.0
  • jest ^29.6.2
  • jest-environment-jsdom ^29.6.2
  • npm-run-all ^4.1.5
  • prettier ^2.8.8
  • prettier-plugin-packagejson ^2.4.5
  • react ^18.2.0
  • react-dom ^18.2.0
  • react-test-renderer ^18.2.0
  • rimraf ^3.0.2
  • rxjs ^7.8.0
  • ts-jest ^29.1.1
  • typescript 4.7.4
  • react ^16.8 || ^17 || ^18
  • rxjs ^6.5 || ^7
website/package.json
  • @babel/core 7
  • @babel/plugin-proposal-class-properties ^7
  • @babel/plugin-proposal-optional-chaining ^7
  • @babel/plugin-transform-typescript ^7
  • @babel/preset-env ^7
  • @babel/generator ^7
  • @babel/preset-react ^7
  • @babel/preset-typescript ^7
  • @babel/standalone ^7
  • @mdx-js/loader ^1.6.22
  • @mdx-js/mdx ^1.6.22
  • @mdx-js/react ^1.6.22
  • @types/babel__core ^7.1.19
  • @types/codemirror 0.0.109
  • @types/history ^4.7.11
  • @types/lodash ^4.14.186
  • @types/mdx-js__react ^1.5.5
  • @types/react ^18.0.21
  • @types/react-dom ^18.0.6
  • @types/styled-components ^5.1.26
  • @webhotelier/webpack-fast-refresh ^5.1.0
  • babel-loader ^8.2.5
  • babel-plugin-static-fs ^3.0.0
  • babel-plugin-styled-components ^1.13.3
  • bezier-easing ^2.1.0
  • clean-webpack-plugin ^3.0.0
  • codemirror ^5.65.9
  • copy-webpack-plugin ^6.4.1
  • css-loader ^3.6.0
  • date-fns ^2.29.3
  • github-slugger ^1.4.0
  • history ^5.3.0
  • html-loader ^1.3.2
  • html-webpack-plugin ^4.5.2
  • lodash ^4.17.21
  • markdown-toc ^1.2.0
  • observable-callback ^1.0.2
  • react ^18.2.0
  • react-codemirror2 ^7.2.1
  • react-css-burger ^0.2.0
  • react-dom ^18.2.0
  • react-refresh 0.8.3
  • react-rx ^2.1.3
  • remark-emoji ^2.2.0
  • remark-slug ^6.1.0
  • rxjs ^6.6.7
  • style-loader ^1.3.0
  • styled-components ^5.3.6
  • ts-loader ^7.0.5
  • ts-node ^8.10.2
  • tsconfig-paths ^3.14.1
  • typescript 4.7.4
  • webpack ^4.46.0
  • webpack-cli ^3.3.12
  • webpack-dev-server ^3.11.3

  • Check this box to trigger a request for Renovate to run again on this repository

Question about usages

Hi, I found this library very helpful, but do you have any open-source examples of this library in use?

Add support for RxJS v7

From all the libraries I found, this looks like the best conceptually, and not over-complicated with wrappers that hide too much. The only thing that stops me from using it, is the version of RxJS that is supported. So if it would be possible to support v7, that would be great.

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Location: renovate.json
Error type: The renovate configuration file contains some invalid settings
Message: packageRules[1]: packageRules cannot combine both matchUpdateTypes and separateMajorMinor. Rule: {"matchFiles":["website/package.json"],"extends":[":semanticCommitTypeAll(chore)"],"ignorePresets":["github>sanity-io/renovate-presets//ecosystem/group-update-types"],"groupName":"website dependencies","groupSlug":"website","matchPackagePatterns":["*"],"matchUpdateTypes":["major","minor","patch"],"separateMajorMinor":false}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.