peerlibrary / meteor-blaze-components

Reusable components for Blaze
http://components.meteorapp.com/
BSD 3-Clause "New" or "Revised" License
354 stars 26 forks source link

Describe a proposed way to limit rerenders because of the data context changes #84

Open mitar opened 9 years ago

mitar commented 9 years ago

Using computed field package.

mitar commented 9 years ago

Example of a discussion and example code is in #49 which talks about various issues with different types of equality.

mitar commented 9 years ago

Additional thing to limit is inside autoruns, as described in computed field package README.

And another one is if you need just a subset of (or clearly defined/limited) data context and would want to trigger reactivity only then. (Computed field + _.pick? Or to map each field to each own reactive variable? Reactive dict?)