Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add instructions to disable component tracker #3095

Merged
merged 8 commits into from
Jan 11, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,9 @@ image::/images/code-view.png[The Button component and corresponding source code.
[class^=PageHeader-module--descriptionContainer] {display: none;}
</style>
++++

== Disable Component Tracking
mcollovati marked this conversation as resolved.
Show resolved Hide resolved

Component tracking is not an expensive operation, but sometimes it may be useful to disable it.
To disable tracking, set the `vaadin.devmode.componentTracker.enabled` configuration parameter to `false`.
See <<{articles}/configuration/properties#,Configuration Properties>> for more information about setting configuration parameters.
5 changes: 5 additions & 0 deletions articles/configuration/properties.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,11 @@ The following table contains the properties that are defined in the [classname]`
|`false`
|Enables session serialization. When session serialization is enabled, [classname]`UI` instances and registered [classname]`StreamResource` instances are serialized or deserialized when restarting the development server. When set to `true`, for example, access control information can be preserved during development so that you don't need to log in for each change. This applies only to development mode.

|`devmode.componentTracker.enabled`
|`true`
|Enables the <<development-mode/dev-tools/component-locator#, Component Locator>> tracker utility. Set to `false` to disable component tracking. This applies only to development mode.
tltv marked this conversation as resolved.
Show resolved Hide resolved


|`devmode.usageStatistics.enabled`
|`true`
|Enables Vaadin to collect usage statistics that can guide further development. Statistics are collected based on features that are used in the application. No data is collected in production mode. Some usage statistics are collected through the web browser. See the https://github.com/vaadin/vaadin-usage-statistics[client-side collector repository] for instructions on how to opt out. This applies only to development mode.
Expand Down
Loading