These are chat archives for ractivejs/ractive

24th
Apr 2018
Arnaud Dagnelies
@dagnelies
Apr 24 2018 10:35
The ractive examples page lastly getting somewhere:
https://dagnelies.github.io/ractive-examples/
kouts
@kouts
Apr 24 2018 12:33
some time, not long ago I think, @evs-chris posted an example of something like "performance best practices" for Ractive, does anybody have the link?
Paul Maly
@PaulMaly_twitter
Apr 24 2018 13:18
@dagnelies :+1:
Paul Maly
@PaulMaly_twitter
Apr 24 2018 13:23
@kouts I think it was somewhere in issues. I asked such question
kouts
@kouts
Apr 24 2018 13:23
@PaulMaly_twitter you mean on Github?
Joseph
@fskreuz
Apr 24 2018 13:35
@kouts you can always search Github by labels. Most issues 0.8 onwards have descriptive labels on them.
I don't label PRs tho, because they're usually a mixed bag. So if it was in a PR, you'd have to do search-fu with the right keywords.
Arnaud Dagnelies
@dagnelies
Apr 24 2018 14:16
@kouts do you have a specific performance issue?
...because if you use it "plainly", it usually fares pretty well. I think the most basic advice is: don't load gazillions of DOM nodes on your page.
kouts
@kouts
Apr 24 2018 14:19
@dagnelies No, I'm trying to find -If I remember correctly- a suggestion to use where possible e.g display: none; or class="hidden" to hide sections instead of putting them inside {{#if blocks.
Joseph
@fskreuz
Apr 24 2018 15:27
@kouts ractivejs/ractive#3068
kouts
@kouts
Apr 24 2018 15:43
thanks @fskreuz