elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.77k stars 8.17k forks source link

Remove initialData from useRequest API #78367

Closed cjcenizal closed 2 weeks ago

cjcenizal commented 4 years ago

Per https://github.com/elastic/kibana/pull/77077#discussion_r490097293, we think this might not be a useful parameter, so we should look into removing it. It's in several places, mostly Snapshot Restore, so it will take some careful investigation and testing to verify this doesn't break the UX anywhere for loading, error, and empty states.

elasticmachine commented 4 years ago

Pinging @elastic/es-ui (Team:Elasticsearch UI)