docs: update React documentation links to react.dev

Signed-off-by: chanchalkhatri19 <chanchal.khatri01@infosys.com>
This commit is contained in:
chanchalkhatri19
2026-01-30 09:35:25 +00:00
parent ab9b7e42e8
commit 4e9c6ac0ee
2 changed files with 3 additions and 3 deletions
@@ -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
@@ -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