kibana/docs/developer/getting-started
Ryland Herrick ac07ebba87
[Security Solution] kbn package for generic hook utils (#101976)
* Adds boilerplate for new hook-utils package

* Move existing, identified utils into our hook-utils package

Updates references, and fixes a few missing config that were preventing
packages from building.

* Extracts a common type and adds a little more JSdoc for clarity

* Adds new useObservable hook

Similar to useAsync (a nearly identical interface), this is meant to
wrap a thunk returning an observable, allowing conditional invocation
and progressive updates as the observable continues to emit.

* Remove orphaned test

This function (and its tests) were moved to the hook-utils package; this
was simply missed.

* Remove optional chaining from kbn package

The build system does not currently support these typescript features.
While a valid fix would also have been to build separate browser and
node targets a la #99390, the use here was very minimal and so changing
to a supported syntax was the most pragmatic fix.

* Update old reference in test file

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-17 12:09:17 -05:00
..
building-kibana.asciidoc [docs/build] Update build dependencies list (#98545) 2021-05-03 17:04:34 -05:00
debugging.asciidoc Fix "to to" spelling error (#93885) 2021-03-10 17:46:31 +02:00
development-plugin-resources.asciidoc [DOCS] More cleanup in developer docs (#90506) 2021-02-08 07:47:36 -08:00
index.asciidoc docs(NA): update developer getting started guide to build on windows within Bazel (#101181) 2021-06-02 20:20:26 +01:00
monorepo-packages.asciidoc [Security Solution] kbn package for generic hook utils (#101976) 2021-06-17 12:09:17 -05:00
running-kibana-advanced.asciidoc [DOCS] Clean up text (#90359) 2021-02-05 09:16:28 -08:00
sample-data.asciidoc [DOCS] Adding file upload to add data page (#101674) 2021-06-09 12:36:27 -07:00