Comments (4)
@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.
@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:
- 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.
- 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.
@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.
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)
- TNone.value typed as undefined breaks the compilation HOT 1
- Add Semigroup HOT 1
- Help with compose and point free functions. HOT 1
- [Feature Request] Add a datastructure for Tuple HOT 5
- [v.6.2.2] export statement in es5.js
- Why do you have to create a success option manually with Option<T>.flatmap? HOT 1
- Right way to handle a Future that returns an either?
- Documentation is dead HOT 2
- implement bracket for resource usage HOT 7
- Add `uncancelable` for IO HOT 4
- Infinite loop in lerna project setup
- An in-range update of funland-laws is breaking the build π¨ HOT 1
- Option.of is non-parametric HOT 4
- An in-range update of rimraf is breaking the build π¨ HOT 1
- Is Validated/Validation out of scope for funfix-core HOT 1
- An in-range update of tsc-watch is breaking the build π¨ HOT 1
- An in-range update of rollup-plugin-commonjs is breaking the build π¨ HOT 1
- Use 7.0.1 funfix version in Angular based on Webpack HOT 2
- I think there's a bug inside `scheduleAtFixedRate` HOT 1
- Project status and future
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from funfix.