Umm, with the current code. After this `currentState.categories` is set once, that value will stay same until component unmount and never replaced by `getCategories(...)`.
This will not work when the dataset changes, new filters are applied and categories change, etc. [ Full content available at: https://github.com/apache/incubator-superset/pull/6038 ] This message was relayed via gitbox.apache.org for devnull@infra.apache.org