Giter VIP home page Giter VIP logo

Comments (4)

lostintime avatar lostintime commented on May 24, 2024 1

@alexandru after tense 2017 end - I finally got monix.js repo bootstrap done (similar to funfix), will need you assistance from here, on packages, names and types.

I'm closing this issues so we can move to https://github.com/funfix/monix.js or/and gitter (please create a room there).

from funfix.

alexandru avatar alexandru commented on May 24, 2024

@lostintime this looks good and I'm very glad to see this request.

I do want to start a Monix port and I actually have the monix package on npmjs.org (was donated to me by its previous owner after asking nicely).

I am interested in working with you on this. However here are some things for consideration:

  1. we cannot do a straight port β€”Β one thing that sucks about the JS ecosystem are the minifiers. The current breed of minifiers (e.g. Webpack) work by means of ECMAScript 6 modules, looking at the imports made and the problem with Observable is that it's a huge class, with a lot of methods and builders that cannot be minified by minifiers such as Webpack.

Instead I'm thinking of a function-based design, in which the Observable class only exposes what's needed, with the rest of the operators then exposed as plain functions. E.g...

import * as Mx from "monix"

const source = Mx.Observable.create(...)

source.pipe(Mx.scan(init, (acc, elem) => acc + elem))

In this example an operator such as scan is no longer a method on Observable, but a plain function.

  1. I'm very opinionated about how code should look like and behave and if we'll end up working together, I'll be asking for a lot in code reviews.

For example I want every piece of code we introduce in the repository to have tests, JSDocs and Flow types as requirement for being merged on master.

This is just so you know what you're getting into πŸ˜€


But as I said, I'm really happy about it. So I'll setup a new repository for us to work in it and make you a member.

It does need the whole setup we have in Funfix β€” and it needs to be multi-project, because we'll end up having monix-react and monix-tail in it.

from funfix.

lostintime avatar lostintime commented on May 24, 2024

@alexandru completely agree with your points

My original motivation for writing that piece was that I was really missing a rich rx library
with backpressure for TypeScript which is also not using native promises.
rx-stream will some issues with my work projects until we have monix.js.

We can move to monix.js, please ping me with your thoughts on how we can get it started.

Meanwhile I'll take a deeper look to funfix project structure and tooling and tests.

from funfix.

alexandru avatar alexandru commented on May 24, 2024

Thanks @lostintime; I've also been caught in work, holidays and now Monix work.

Funfix has been neglected, but I've got some cool updates / ports of features coming after I'm done with Monix.

from funfix.

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.