Skip to content

Instantly share code, notes, and snippets.

View alexgwolff's full-sized avatar
🏠
Working from home

Alex Godoy Wolff alexgwolff

🏠
Working from home
View GitHub Profile
New-Item -Path .\projects -ItemType SymbolicLink -Value D:\projects\
const ShadowRoot = ({ content, children }) => {
const container = useRef(null);
useEffect(() => {
if (container) {
const shadowRoot = container.current.attachShadow({ mode: 'open' });
ReactDOM.render(children, shadowRoot);
}
}, []);
return (
<div style={{ height: '100%', width: '100%' }} ref={container}>
git config --global user.name "Alex G. Wolff"
git config --global user.email 13754094+alexgwolff@users.noreply.github.com