These are chat archives for cmaher/backbone.hoard

1st
Jul 2015
Gary Kaganas
@Seebiscuit
Jul 01 2015 17:18
@cmaher, How are you?
Coupla things. 1. Please let me know when you want to implement Events on hoard. I'm working with a minimalist message router, if you want to see. 2. There shouldn't be a problem with using localForage as a backend, right?
Christian Maher
@cmaher
Jul 01 2015 17:25
Hey @Seebiscuit, localForage works, it's included as a backend in the integration tests.
And I'm not sure I'll be able to get to events, I'm going to be moving over to the React world
You're currently patching in events though, right?
I would welcome a PR that adds lifecycle events
Gary Kaganas
@Seebiscuit
Jul 01 2015 17:30
Yea, I'm patching the events in and routing events to a radio (if provided). I'll try to work up a PR. Heading towards a release deadline...
So...React?
Christian Maher
@cmaher
Jul 01 2015 17:31
understandable, whenever you have something is fined
yep, going to be leaving backbone
Gary Kaganas
@Seebiscuit
Jul 01 2015 17:32
In your opinion, does React exclude Bb or can they be used together?
Christian Maher
@cmaher
Jul 01 2015 17:32
React can be used with BB models just fine, but I don't think I'd start something new using BB models
especially to keep in line with Flux
and be more react-y
Gary Kaganas
@Seebiscuit
Jul 01 2015 17:58
How can diffing your entire APP be efficent? I get that repaints are costly, but I find it hard to swallow that if one field changes in my app, I have to re-diff the entire thing. The DOM could contain many thousand nodes...
Btw, just to make sure, I never asked you. If I don't set a ttl recipe, and I use, say localStorage, the data will live there forever, right?
Christian Maher
@cmaher
Jul 01 2015 18:06
it should
In reality, I don't think many people end up diffing their whole app
Gary Kaganas
@Seebiscuit
Jul 01 2015 18:08
I thought that's what "One App State" was all about.
Christian Maher
@cmaher
Jul 01 2015 18:08
it is, but the way apps generally go is that there are a bunch of different subapps
it can also be made really efficient with immutable data
that's what Om does
Gary Kaganas
@Seebiscuit
Jul 01 2015 18:11
How does immutable data work?
Christian Maher
@cmaher
Jul 01 2015 18:11
you just compare reference
which is really fast
Gary Kaganas
@Seebiscuit
Jul 01 2015 18:15
Well that is nice
Gary Kaganas
@Seebiscuit
Jul 01 2015 18:28
How hard do you think it'll be to port Conductor to React?