You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all this is a great library thanks for sharing @klcodanr
As I was trying out this library, I noticed that when I turned on the datalayer for a page, the Models were getting instantiated twice:
By the component's sightly
2.By the datalayer
Looking at the code in the interceptor filter this seems expected as the updateDataLayer instantiates the models for resources on page. But, this does have some performance implications if the page contains models whose initialization costs are expensive (for e.g. lists that run queries etc.). Any ideas to avoid this besides turning on caching on Models (which I haven't tried yet but, something I was contemplating doing to see if it helps)
The text was updated successfully, but these errors were encountered:
First of all this is a great library thanks for sharing @klcodanr
As I was trying out this library, I noticed that when I turned on the datalayer for a page, the Models were getting instantiated twice:
2.By the datalayer
Looking at the code in the interceptor filter this seems expected as the updateDataLayer instantiates the models for resources on page. But, this does have some performance implications if the page contains models whose initialization costs are expensive (for e.g. lists that run queries etc.). Any ideas to avoid this besides turning on caching on Models (which I haven't tried yet but, something I was contemplating doing to see if it helps)
The text was updated successfully, but these errors were encountered: