Skip to content

Conversation

@spike-rabbit
Copy link
Member

@siemens/siemens-element share your opinions. Should we show / use experimental stuff in our docs?

The resource API allows us to significantly simply the some example code. But even in ng21 it is still experimental.


@coderabbitai
Copy link

coderabbitai bot commented Nov 25, 2025

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch docs/use-resource

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link

Code Coverage

@github-actions
Copy link

@spliffone
Copy link
Member

Can you showcase how do you indicate errors, since this isn't obvious how this is handled.

@spliffone
Copy link
Member

How does the loading indicator work in your example? Can you describe it.

@chintankavathia
Copy link
Member

The API is in experimental since last 1 year. not sure what they are cooking but there was one blog post mentioning about some issues around the api (https://angular.schule/blog/2025-10-rx-resource-is-broken)

I would prefer not to put this on our docs as most of the time projects copy the code snippet and they don't really pay much attention whether the api is experimental or not and may end up coming back to us asking for how to handle certain use cases on top of this.

@timowolf
Copy link
Member

No, we should only show what should be used. Remember, the mcp is now trained on our examples and is generating this code.

@spike-rabbit
Copy link
Member Author

But are we sure, that projects should not be using the resource API?

I was not aware, that they were facing larger issues with it. At least in the example it works well and some parts of the blog post got solved already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants