Coder Social home page Coder Social logo

Comments (1)

josepot avatar josepot commented on May 17, 2024

The other day I had an offline talk with @bhavesh-desai-scratch and one of the things that he said about merging connectObservable and connectFactoryObservable is that maybe the problem of using connect is that it's a bit too influenced by prior art (i.e. react-redux). He definitely has a point, because when I was trying to find for a name I thought about the connect of react-redux. So, I've been trying to find alternative names and there is this one that's starting to grow on me: clamp. The main reason is that I see these bindings as a set of utils that help to overcome the impedance mismatch that exists between RxJS and React. Perhaps that's because I'm stretching a bit too much the term "impedance mismatch", I'm not sure 😅, but one of the meanings of the term clamp is (when used as a verb):

maintain the voltage limits of (an electrical signal) at prescribed values.

and as a noun it also means:

a brace, band, or clasp for strengthening or holding things together.

And on top of that it's only 5 chars long. We could also use clampObservable (and have 2 overloads), but I think that I prefer just clamp.

So, what do you think?

Also, after reading this post I think that I'm not abusing the meaning of "impedance mismatch".

from react-rxjs.

Related Issues (20)

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.