angular/packages/core/test/resource
Alex Rickabaugh 127fc0dc84 fix(core): fix resource()'s previous.state (#59708)
When a resource first starts up, even if it transitions immediately to
`Loading` it should report a `previous.state` of `Idle`. It was reporting
`Loading` as the previous state in such a case because of an oversight in
the migration to `linkedSignal` which this commit addresses.

PR Close #59708
2025-01-28 09:40:29 +01:00
..
BUILD.bazel feat(core): experimental resource() API for async dependencies (#58255) 2024-10-21 13:25:58 -07:00
resource_spec.ts fix(core): fix resource()'s previous.state (#59708) 2025-01-28 09:40:29 +01:00