GithubHelp home page GithubHelp logo

Moving library to Typescript about pond HOT 10 CLOSED

esnet avatar esnet commented on June 11, 2024 3
Moving library to Typescript

from pond.

Comments (10)

johnstuarthunter avatar johnstuarthunter commented on June 11, 2024 5

Any further idea on when there will be a version of react-timeseries-charts which will work with this new version of Pondjs?

from pond.

pjm17971 avatar pjm17971 commented on June 11, 2024 3

This was updated July 23, 2017, within the typescript branch of this repo. That repo now fully reflects the current state of this typescript rewrite. Basically all previous tests pass, or there is some way to rewrite the code to get the same result (with a few exceptions). There's still a bunch of cleanup to do to get an alpha version of this up on npm, because some things broke when it got moved and the website/docs aren't quite there yet, and there's still a handful of type errors, but it's getting a lot closer now. Most of those problems should be resolved this week.

from pond.

pjm17971 avatar pjm17971 commented on June 11, 2024 1

@opavader thanks for the comment. I'm glad you like it.

I've pretty much decided that the way forward for this library is to move it to typescript and that is actually making decent progress. (That work is actually in a different repo). The main thing has been the use of generics for events and collections and generally stricter typing, but I'm past most of that now.

Let me get a little further with it and I'll let you know here if you can help.

Thanks again.

from pond.

pjm17971 avatar pjm17971 commented on June 11, 2024 1

npm install pondjs@alpha should get you a full typescript version of pond. For the moment you can’t use this with react-timeseries-charts but that work is almost done.

Sorry about the delay. For most of the summer tsc couldn’t build the project because it included immutable.js. That’s fixed since 2.5.3 so onwards and upwards!

from pond.

pjm17971 avatar pjm17971 commented on June 11, 2024 1

@velsa Sometimes that's how it goes. On the bright side, there are moves afoot to pick up this work.

from pond.

opavader avatar opavader commented on June 11, 2024

@pjm17971 This will be a really great enhancement & worthwhile effort.
This library is exactly what I have often tried to achieve using crossfilter. Given its usefulness for me I will be very much willing to help in any way possible (I have decent enough experience with typescript, webpack etc).

from pond.

pjm17971 avatar pjm17971 commented on June 11, 2024

For anyone tracking this item, this is definitely in progress. I've updated the above check list on June 11, 2017. There's several processors still to port (processors are setup so that a collection can flatMap over them now), the TimeSeries wrapper on top of a Collection (which does the heavy lifting), and figuring out to what extent to support streaming style pipelines (which we no longer use). In addition @sartaj10 is working on typescript docs generation for this project so we can put a new website together that looks roughly like immuatble.js in its type descriptions. Then we need to port react-timeseries-charts to use it. But progress.

from pond.

velsa avatar velsa commented on June 11, 2024

We're getting close to two years on this.
Any updates since 2018? :)

from pond.

velsa avatar velsa commented on June 11, 2024

Thanks for the answer and good luck!
Waiting patiently for the working typescript version of react-timeseries-charts and will be ready to pay/donate as soon as it's ready :)

from pond.

davegravy avatar davegravy commented on June 11, 2024

Also waiting patiently :) Any sign of resuming this work?

from pond.

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.