Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(configuration): The refresh mode strategy can now be configured.
You can customise the refresh mode strategy by passing in an additional configuration value of "refreshMode". The default value is 'throttle', however, it also supports a value of 'debounce'. If you select 'debounce' then your component will only be measured after the refresh rate has expired. This can be quite useful if your component is subject to animations etc. Typically you would only want to start measuring your component after the animations complete.
- Loading branch information