One Time Binding
Add support for one time binding, such that once the binding has been evaluated and set, it does not take part in future refreshes of the component. This will be helpful in gaining some performance where we know that some of the data is not going to change during the life cycle of the component. For example some json content fetched from server which needs to be rendered in a table and we know this data will not change for very long time.
The approach we're using is that components are the unit of re-rendering. So if there's part of a component you only want to be rendered once, you can factor that out into a child component. The child component will only get re-rendered when its parameter values change.
Thank you for reply Steve
On Sat, May 12, 2018 at 3:20 AM, Steve Sanderson [email protected] wrote:
The approach we're using is that components are the unit of re-rendering. So if there's part of a component you only want to be rendered once, you can factor that out into a child component. The child component will only get re-rendered when its parameter values change.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/aspnet/Blazor/issues/816#issuecomment-388494627, or mute the thread https://github.com/notifications/unsubscribe-auth/ACnwPxtP2A-b7L-g8MBJW2jfsSmpGNMLks5txgeYgaJpZM4T65PG .