daml/language-support/ts
Martin Huschenbett d637e4fa7f
@daml/react: Initialize loading indicators of hooks with true (#6196)
Having them set to `false` when they will immediately bet set to `true`
does not make too much sense. This allows for simplifying uses of
`useFetchByKey` where the key is know to always be present since you
can now operate under the assumption that the contract is never `null`
when the loading indicator is `false`.

This fixes #6171.

CHANGELOG_BEGIN
- @daml/react: Initialize the loading indicators of ``useQuery``,
  ``useFetchByKey`` and their streaming variants with ``true``. This
  removes a glitch where the loading indicator was ``false`` for a very
  brief moment when components using these hooks were mounted although
  no data had been loaded yet. Code using these hooks does not need to
  adapted in response to this change.
CHANGELOG_END
2020-06-03 10:52:36 +00:00
..
codegen Mark build-and-lint codegen tests as flaky (#6156) 2020-05-29 10:05:37 +02:00
daml-ledger language: send live event when reconnecting (#5982) 2020-05-19 16:57:16 +02:00
daml-react @daml/react: Initialize loading indicators of hooks with true (#6196) 2020-06-03 10:52:36 +00:00
daml-types Replace file globs in ts package BUILD files (#5424) 2020-04-06 13:07:27 +02:00
packages Upgrade rules_nodejs to version 1.6.0 (#5539) 2020-04-17 12:03:33 +00:00
.gitignore language-support/ts yarn install (#4159) 2020-01-22 17:28:14 +01:00
BUILD.bazel replace DAML Authors with DA in copyright headers (#5228) 2020-03-27 01:26:10 +01:00
defs.bzl Upgrade rules_nodejs to version 1.6.0 (#5539) 2020-04-17 12:03:33 +00:00
eslint.bzl Upgrade rules_nodejs to version 1.6.0 (#5539) 2020-04-17 12:03:33 +00:00
jest.bzl replace DAML Authors with DA in copyright headers (#5228) 2020-03-27 01:26:10 +01:00
package.json language: add daml-react package to ts libraries (#4259) 2020-01-29 15:37:47 +01:00
typedoc.bzl language:docs: fix link in README of generated ts. (#5745) 2020-04-28 16:10:13 +02:00