Currently, GL Draw does not utilize the Feature State API. Starting to use [feature state](https://docs.mapbox.com/mapbox-gl-js/api/map/#map#setfeaturestate) would result in several benefits, such as: * Reduced flickering, which is currently caused by moving between "hot" and "cold" layers. * The ability to add hover effects to drawn features (as demonstrated in [this example](https://docs.mapbox.com/mapbox-gl-js/example/hover-styles/)). * Reduced CPU usage, since `queryRenderedFeatures` would not need to be run for every mouse move. * A potential way to pass `userProperties` to midpoints and vertices (see https://github.com/mapbox/mapbox-gl-draw/pull/964 for additional related discussion).
Currently, GL Draw does not utilize the Feature State API. Starting to use feature state would result in several benefits, such as:
queryRenderedFeatureswould not need to be run for every mouse move.userPropertiesto midpoints and vertices (see Pass userProperties to midpoints and vertices #964 for additional related discussion).