These are chat archives for ractivejs/ractive

11th
Mar 2018
Chris Reeves
@evs-chris
Mar 11 2018 07:49
@simonlayfield's branding update is now live on ractive.js.org!
I've still got some work to finish up on the playground
kouts
@kouts
Mar 11 2018 07:52
nice and refreshing! :sparkles:
feels like summer I would say!
good work of @simonlayfield and @PaulMaly_twitter for running the idea
Paul Maly
@PaulMaly_twitter
Mar 11 2018 08:00
:clap:
Cerem Cem ASLAN
@ceremcem
Mar 11 2018 10:30
seems very nice :+1:
Cerem Cem ASLAN
@ceremcem
Mar 11 2018 20:48
I'm confused again. Why data functions are run before onrender (and even before oninit) when they are called in the template? Playground
Chris Reeves
@evs-chris
Mar 11 2018 21:36
with components, render is part of init, so the init event doesn't happen until after the everything is bound
Chris Reeves
@evs-chris
Mar 11 2018 21:43
all of the lifecycle events fire after their part of the lifecycle is complete
Cerem Cem ASLAN
@ceremcem
Mar 11 2018 21:45
so if I want to set some variable on initialization, I may use onconfig, like this?
Chris Reeves
@evs-chris
Mar 11 2018 21:47
yep that's the earliest that the data is fully set up but before render may have happened, depending on how the instance is being managed
Cerem Cem ASLAN
@ceremcem
Mar 11 2018 21:48
hm. got it. thanks!