From 64e8e9c6724baff3c28bd370d9c9519cb6156076 Mon Sep 17 00:00:00 2001 From: PolaPolaczek Date: Sat, 15 Aug 2020 21:12:35 +0200 Subject: [PATCH] start translation of portals --- content/docs/portals.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/docs/portals.md b/content/docs/portals.md index 16e90b2e6..f768c471d 100644 --- a/content/docs/portals.md +++ b/content/docs/portals.md @@ -1,10 +1,10 @@ --- id: portals -title: Portals +title: Portale permalink: docs/portals.html --- -Portals provide a first-class way to render children into a DOM node that exists outside the DOM hierarchy of the parent component. +Portale stanowią pierwszorzędny sposób na renderowanie dzieci, w takim węźle DOM, który znajduje się poza strukturą drzewa DOM komponentu - rodzica. ```js ReactDOM.createPortal(child, container)