Skip to content

Commit 455b627

Browse files
MeAkibmattrbeck
authored andcommitted
docs: label developer preview and experimental APIs in guides
Four guides document APIs without their stability status: route resources (withRouterResources, Route.resources, nonBlocking) and createComponent's onError/ErrorDetails are @developerPreview 22.2, provideCheckNoChangesConfig is @developerPreview 20.0, and resourceFromSnapshots is @experimental. Add the standard IMPORTANT callouts.
1 parent c27695f commit 455b627

4 files changed

Lines changed: 8 additions & 0 deletions

File tree

‎adev/src/content/guide/components/programmatic-rendering.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,8 @@ export class PopupService {
406406

407407
## Handling rendering errors
408408

409+
IMPORTANT: The `onError` option and its `ErrorDetails` parameter are in [developer preview](reference/releases#developer-preview).
410+
409411
When dynamically creating components using `ViewContainerRef.createComponent` or the standalone `createComponent` function, you can provide an `onError` callback in the options object to handle errors that occur during the rendering or change detection phases. This is the programmatic equivalent of using an `@error` block in templates.
410412

411413
```ts

‎adev/src/content/guide/routing/data-fetching-with-resources.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Data fetching with resources
22

3+
IMPORTANT: Route resources are in [developer preview](reference/releases#developer-preview).
4+
35
The Angular Router integrates with Angular signals through the `resources` route configuration. This allows you to fetch data reactively using `Resource` APIs.
46

57
## Why use route resources?

‎adev/src/content/guide/signals/resource.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,8 @@ Each snapshot contains a `status` and either a `value` or an `error`.
231231

232232
### Composing resources with snapshots
233233

234+
IMPORTANT: `resourceFromSnapshots` is [experimental](reference/releases#experimental). It's ready for you to try, but it might change before it is stable.
235+
234236
You can create new resources from snapshots using `resourceFromSnapshots`. This enables composition with signal APIs like `computed` and `linkedSignal` to transform resource behavior.
235237

236238
```ts

‎adev/src/content/guide/zoneless.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,8 @@ in tests. If a test needs it, the component usually isn't fully reactive or
172172

173173
### Debug-mode check to ensure updates are detected
174174

175+
IMPORTANT: `provideCheckNoChangesConfig` is in [developer preview](reference/releases#developer-preview).
176+
175177
Angular also provides an additional tool to help verify that an application is making
176178
updates to state in a zoneless-compatible way. `provideCheckNoChangesConfig({exhaustive: true, interval: <milliseconds>})`
177179
can be used to periodically check to ensure that no bindings have been updated

0 commit comments

Comments
 (0)