These are chat archives for ractivejs/ractive

30th
Jun 2017
James Green
@jmkgreen
Jun 30 2017 09:40
How's the release of 0.9.2 coming along? Last I heard it was this week and I've got other people waiting for it :-)
kouts
@kouts
Jun 30 2017 09:42
give 0.9.2 to the people! :smile: :sunrise:
Joseph
@fskreuz
Jun 30 2017 12:03
There's a 0.9.2-build-2. That can probably be used for now until the official 0.9.2 comes out.
James Green
@jmkgreen
Jun 30 2017 12:14
That's what I'm using - would prefer to perform a complete test of our app using the official 0.9.2 though else my time gets wasted :-(
Joseph
@fskreuz
Jun 30 2017 12:18
Usually @evs-chris does releases at the end of the week. It might come out today. :)
James Green
@jmkgreen
Jun 30 2017 12:24
I rather feared that. I have a bunch of staff waiting on my app updates for an end-of-month big job. It normally takes them over a day to do the equivalent functions without this app.
Hence I'm on the receiving end of a few phone calls atm.
Sadly we did not realise we needed 0.9.2 until Tuesday evening, after we thought we were done and ready to release. Such good plans :(
Chris Reeves
@evs-chris
Jun 30 2017 12:58
I'll try to get 0.9.2 out in a bit. The only difference between it and the current dev build will be the version number, maybe a change in the transpiled state of the mjs file, and the changelog though, so if your testing cycle passes on the dev build, it should also pass on 0.9.2.
James Green
@jmkgreen
Jun 30 2017 12:59
That's good to know - appreciate the tip.
paulie4
@paulie4
Jun 30 2017 16:36
Does anyone know if Ractive has an official way to add computeds dynamically to an instance? AFAICT, the docs only mention adding them at construction time, not runtime.
Chris Reeves
@evs-chris
Jun 30 2017 16:40
I don't think I've ever tried that
Chris Reeves
@evs-chris
Jun 30 2017 16:46
@paulie4 not official, but not likely to change either: giant playground link
the added computation won't replace any previous resolutions, so you can't replace {{foo}} with a computed if the bit of vdom with {{foo}} in it is already bound
also 0.9.2 has been pushed :smile:
Joseph
@fskreuz
Jun 30 2017 16:49
Curious about the use case of a dynamic computed tho.
I'm under the impression computations are known in advance due to the dependencies it requires.
Same story with event listeners, observers, etc. - you know you're going to need them.
Chris Reeves
@evs-chris
Jun 30 2017 16:50
actually deps are compiled at runtime for computeds
capture and whatnot
Joseph
@fskreuz
Jun 30 2017 16:50
I mean you know you're needing them, so why attach them dynamically? Any benefit to hooking them up late?
Chris Reeves
@evs-chris
Jun 30 2017 16:51
yeah, I can't really think of any reason I would want to do that
I have used dynamic observers and event listeners before
kinda like a ui state machine where some things don't matter until certain conditions are met
slightly off topic, but I need to get crackin' on #2947 - seems like everything I've done for the last two weeks has centered on managing giant lists of stuff. having easier filtering and sorting built in would make that much less cumbersome
kouts
@kouts
Jun 30 2017 17:03
thanks for 0.9.2 @evs-chris :fireworks: