Nothing special I just solved a couple issues, I dont deeply understand cosmos yet=(
Sergey Lapin
@sergey-lapin
@skidding I assume this \cosmos\examples\component-playground\component-playground.html - general example that show all power of cosmos, but it is complicated, some really primitive example would be nice
Ovidiu Cherecheș
@skidding
yeah, you're right
should come with a few dummy components to showcase
@lapanoid curious if you got the chance to see the restructured Cosmos 0.6 https://github.com/skidding/cosmos – it now has hot reloading built-in, added by react-hot-loader's creator himself skidding/cosmos#127 :)
Sergey Lapin
@sergey-lapin
Great news and great work=) All looks much more solid since I looked last time)
I keep in mind to try 0.6 just have a lot of backend work now
Ovidiu Cherecheș
@skidding
thanks. worked a bit for the last weeks to make it as simple as possible to use
Sergey Lapin
@sergey-lapin
I played with flux a little bit, it is really cool especially that you can just replay events to get state of app, maybe it can be useful for cosmos in some way?
For some sequence of events -> render component -> maybe compare with previous component snapshot
Sergey Lapin
@sergey-lapin
@skidding
Ovidiu Cherecheș
@skidding
going back and forth through variations of component snapshots does sound cool indeed. this way you could also test transitions between one state and another
Sergey Lapin
@sergey-lapin
Yep
React render is pretty fast so no need to even store snapshot
Ovidiu Cherecheș
@skidding
and getting a flux + cosmos setup is something I want to try out pretty bad, but I didn't get the change to get fully immersed in any flux implementation so far...
which flux lib are you using?
Sergey Lapin
@sergey-lapin
Actually I don’t use any just holding conception, flux is pretty simple. I may say I wrote my own lib)
I just dealt with a lot of frp code based on kefir.js so I intergrated them
I just thought.. how long it would be to go through all commit history of some repo and render all components. where allTime = nComponents * nCommits. If it is not really slow I’d would like to use it)
Ovidiu Cherecheș
@skidding
thanks for the flux link
how would you capture all those component outputs?
Sergey Lapin
@sergey-lapin
With some worker process I guess and store it outside of repo
Ovidiu Cherecheș
@skidding
you could take a screenshot of each and store them on the drive to open later