Loading topic
signal, computed, effect), and the basics of HttpClient. It shows the problems that the resource API, covered in the next chapters, is designed to remove.2 min readsignal, computed, effect). It covers the smallest useful resource(): what you pass in, what you get back, and when the loader runs.2 min readsignal, computed, effect). You should also have created a first resource in the previous chapter.2 min readresource with a params function and a loader, and that you are comfortable with fetch, Promises, and signals.2 min readparams function and a loader, as in the earlier chapters. A resource exposes its state through signals. Reading those signals correctly is what keeps a template from showing stale or broken data.2 min readresource with params and a loader, and that you know Angular control flow (@if, @else). Here you will turn the resource's state signals into a template that handles every case.2 min readresource with a params function and a loader, and that you know the status signals from the earlier chapters. It covers what happens when a loader fails and how to show that to the user.2 min readresource with a loader and read its value(), status(), and isLoading() signals. Here you will re-run a loader on demand, without changing any of its inputs.2 min readresource() loads data from params and loader, and that you can read value() and status(). Here you will change a resource's value without sending a request.2 min readresource with params and a loader. It also assumes you know basic RxJS and HttpClient. If your data layer already returns Observables, rxResource lets you keep it.2 min readHttpClient, and the resource and rxResource APIs from the earlier chapters. You should also be comfortable with provideHttpClient() in your application config.2 min readresource() with a reactive params function, and that you can read value(), status(), and hasValue() on it. Here you will make one resource wait for another.2 min readTestBed, and that you know resource, params, and loader from the earlier chapters. The examples use the global describe, it, and expect functions, so they work with Jasmine, Jest, or Vitest.2 min readresource, rxResource, httpResource, and how params and loader work. The API has changed between Angular releases, so code copied from older articles may not compile.2 min read