Explore tweets about #react.portal on Twitter
@Th3MichaelWhite
Michael White
10 days ago
Day 80! Almost there!!! New project is coming along swimmingly! Wrote my own React hook for a modal and incorporated a React portal for the first time ever! Pretty fun stuff 🙃 #100daysofcodechallenge
0
1
14
@benoitgrelard
Benoît Grélard
13 days ago
We see this across some other of our packages too. It seems to be all the packages that depend on `@radix-ui/react-portal` which is the one with a peer-dep on `react-dom`. However, interestingly, `@radix-ui/react-portal` size doesn't show `react-dom` in its composition.
1
0
0
@segebee
Maserati developer
17 days ago
@dan_abramov hi. is there a way to have a react portal visible across pages? I'd like to achieve this.
0
0
0
@dontusethiscode
James Powell
23 days ago
By the way, my JS and React code these days is wild, like I was raised by wolves… ImmutableJS-derived custom classes, `[Symbol.iterator]` `yield`ing child elements, `React.Portal` disconnecting logical/dataflow from physical/DOM hierarchy… https://t.co/KkvDNonJMd
@dontusethiscode
James Powell
23 days ago
@llanga @dabeaz I actually write a good deal of code with React, which may well be idiosyncratic in style—I write a lot of custom classes,usually extended from ImmutableJS.I feel constrained by JS but have struggled to find motivation for using TypeScript despite wanting something better than JS
0
0
2
@ggsimm
Gianmarco Simone ✨
a month ago
@AdaRoseCannon No, it's a React portal, meaning it actually creates a DOM node. The position is calculated by projecting the 3D point to screen coords https://t.co/1BVq5OayPV I tried many HTML > Canvas solutions but I'm not happy with any, so I stick with this
1
0
1
@web_steps
Salim
a month ago
React tooltips from scratch, using React Portal, Recursive functions, React cloneElement... no plugin used https://t.co/V8gsyyOMWZ
0
0
0
@KaelinAlexander
KaelinAlexander (he/they)
a month ago
#100DaysOfCode / Day 2 / I learned about #React Portal, and woahdang is this the best use of nerdy cross-branding. Basically, you supply a <div> on the DOM *elsewhere* than the root <div>, and then mount a component there, rather than as part of its usual descendant positioning. https://t.co/QOQDTxPFx8
Tweet media one
1
7
4
@markdalgleish
🧁 Mark Dalgleish
a month ago
@stubbornella @CharlieCroom Mostly just wanting is to render a tooltip/popover on top of the entire UI, ensuring it's not accidentally cropped, covered or transformed. I can fix this with a React portal rendering at the root, but then the element is out of the document flow and a11y becomes a lot harder.
2
0
8
@stubbornella
Nicole Sullivan
a month ago
@CharlieCroom @markdalgleish What does a react portal do that you would want a native element to do?
1
0
0
@erikras
Erik Rasmussen 👨🏻‍💻🇺🇸🇪🇸
a month ago
Hint: The native click is coming from inside a Popover, which is inside a React Portal.
1
0
0
@markdalgleish
🧁 Mark Dalgleish
a month ago
I wish the browser had a native element type that behaved like a React portal.
9
3
61
@Rynk_m
Rynk🐥福祉系
a month ago
z-index 迷宮にはいりガガガとなっていたところに、react portalの存在を知り、天国。 <div id='root'> ...超絶ネスト  コンポーネント </div> <div id='portal'></div> という状況で、コンポート内の一部をportalタブないにテレポートしてレンダリングできる。 モーダルとかdropdownにおすすめ。
0
0
0
@markdalgleish
🧁 Mark Dalgleish
a month ago
Trying to build an accessible interactive tooltip in a React portal—the trick is simulating natural tab order, e.g. tabbing out of it should take you to the next focusable element on the page. There's no browser API for this, but luckily I found this gem: https://t.co/Zv4N0wT6aY
4
4
49
@EhmD__
MD
2 months ago
New Stream Transition. React, Portal 2, we'll see. Get in here. https://t.co/MC1VVNprwM https://t.co/MC1VVNprwM https://t.co/MC1VVNprwM
1
0
2
@Malomz
Demola Malomz
2 months ago
Is React portal the same thing as Teleport in Vue ? #reactjs #VueJS
1
2
3
@fahad07_khan
Fahad Khan
2 months ago
‘React portal’ let you put a component or #HTML element inside index.html exclude default element’<div Id=”root” /> #reactjs #javascript #DEVCommunity
0
6
3
@sijiaoh
シカク
3 months ago
react portalコンテキストメニュー作るときに便利
0
0
0
@sijiaoh
シカク
3 months ago
react portalとか言う便利そうな機能見つけたけど、今の所使いみちは思い浮かばない
0
0
0
@calebdeji06
Caleb
3 months ago
Is there a reason why we should render modals with React portal while we can always use the native dialog element (considering accessibility too) or am I missing something? CC : @_ooade @tehlordvortex
0
0
0
@Nakonako_55
なこ
4 months ago
こんにちは! #今日の積み上げ ・Redux React portal の導入 ・アプリUI 今日は仕事忙しそうだからアプリUIに集中しようかと思います。今日も一日頑張ろう! #駆け出しエンジニアと繋がりたい
2
0
31