react-portal
github.com
React 组件,用于将模态框、灯箱等渲染到 document.body 或其他 DOM 节点,支持 SSR。
开源React网页
GitHub ★ 2,150被推荐 1 次
适合做什么
适合 React 开发者构建模态框、通知、加载条等需要脱离父级层叠上下文的 UI 组件。
标签与属性
谁在推荐
react-portal - React component for transportation of modals, lightboxes, loading bars... to document.body.



