Skip to content

Commit 38c192f

Browse files
authored
docs(Portals): update "React Portal" link (#4832)
1 parent a1e6bb9 commit 38c192f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/knowledge-base/Portals.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This entry explains why portals are used in UI5 Web Components for React compone
1515

1616
## Why Portals?
1717

18-
In most cases when a React component like the `AnalyticalTable` implements a popover like a `Dialog` or `ResponsivePopover`, we use a [React Portal](https://reactjs.org/docs/portals.html) to mount it outside the parents DOM hierarchy, to prevent unwanted side effects (wrong positioning, alignment, etc.).
18+
In most cases when a React component like the `AnalyticalTable` implements a popover like a `Dialog` or `ResponsivePopover`, we use a [React Portal](https://react.dev/reference/react-dom/createPortal) to mount it outside the parents DOM hierarchy, to prevent unwanted side effects (wrong positioning, alignment, etc.).
1919

2020
For example:
2121

0 commit comments

Comments
 (0)