From 4e9c6ac0ee030dffe3558fee9ebbfaf482d5d01f Mon Sep 17 00:00:00 2001 From: chanchalkhatri19 Date: Fri, 30 Jan 2026 09:35:25 +0000 Subject: [PATCH] docs: update React documentation links to react.dev Signed-off-by: chanchalkhatri19 --- docs/architecture-decisions/adr003-avoid-default-exports.md | 2 +- docs/plugins/integrating-plugin-into-software-catalog.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/architecture-decisions/adr003-avoid-default-exports.md b/docs/architecture-decisions/adr003-avoid-default-exports.md index 8ba37914df..606afdfbf4 100644 --- a/docs/architecture-decisions/adr003-avoid-default-exports.md +++ b/docs/architecture-decisions/adr003-avoid-default-exports.md @@ -48,7 +48,7 @@ benefits. A few are: ## Decision We will stop using default exports except when absolutely necessary (such as -[`React.lazy`](https://reactjs.org/docs/code-splitting.html#reactlazy) modules). +[`React.lazy`](https://react.dev/reference/react/lazy) modules). A workaround exists for those that would prefer to never use `default`: ```ts diff --git a/docs/plugins/integrating-plugin-into-software-catalog.md b/docs/plugins/integrating-plugin-into-software-catalog.md index 3542e073cb..d71b280c97 100644 --- a/docs/plugins/integrating-plugin-into-software-catalog.md +++ b/docs/plugins/integrating-plugin-into-software-catalog.md @@ -45,7 +45,7 @@ export const MyPluginEntityContent = () => { ``` Internally `useEntity` makes use of -[react `Context`s](https://reactjs.org/docs/context.html). The entity context is +[react `Contexts`](https://react.dev/learn/passing-data-deeply-with-context). The entity context is provided by the entity page into which your plugin will be embedded. ### Import your plugin and embed in the entities page @@ -63,7 +63,7 @@ To add your component to the Entity view, you will need to modify the your plugin, you may only care about certain kinds of [entities](https://backstage.io/docs/features/software-catalog/descriptor-format), each of which has its own -[element](https://reactjs.org/docs/rendering-elements.html) for rendering. This +[element](https://react.dev/learn/rendering-lists) for rendering. This functionality is handled by the `EntitySwitch` component: ```tsx