Giter Site home page Giter Site logo

add more combinators about scala.rx HOT 5 CLOSED

antonkulaga avatar antonkulaga commented on July 28, 2024
add more combinators

from scala.rx.

Comments (5)

lihaoyi avatar lihaoyi commented on July 28, 2024

Just download it and publishLocal yourself; then you can make whatever changes you want and try them out. If it works out well, send a PR explaining what you want to do and we can talk about it =)

from scala.rx.

antonkulaga avatar antonkulaga commented on July 28, 2024

I am writing an extension that works with Rx[List[T]] and produces changes events to inform me what elements were deleted/removed/moved. For this I would not mind to have zip function (that will allow me to produce Rx of (oldvalue,newvalue) pairs) as well as a guidance of how to write new extensions ( deal with Watchers and other internals).
I am going to use this for DOM binding to collections of elements as think that redrawing a lot of DOM nodes just because one or two items in Rx[List[T]] changed is not a good idea.
I already wrote some "monkey-code" but have not tested it yet:
https://gist.github.com/antonkulaga/9820118
to simulate expected behaviour.

I usually prefer to write things outside of the libraries I want to extend (just directly in my project as it does not require to wait a lot after everything recompiles) and only when it becomes more or less working - port them inside libs and make pull requests.

from scala.rx.

lihaoyi avatar lihaoyi commented on July 28, 2024

Which private things would you like to make public in order for you to do all the stuff you want to do?

from scala.rx.

antonkulaga avatar antonkulaga commented on July 28, 2024

Which private things would you like to make public in order for you to do all the stuff you want to do?

I decided just to modify the lib itself, here is my pull request with zip #15

from scala.rx.

lihaoyi avatar lihaoyi commented on July 28, 2024

bug bankruptcy: 0.3.0 is out and it's a whole new world!

from scala.rx.

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.