These are chat archives for SmartFocus/reactjs

19th
Feb 2015
Juho Vepsäläinen
@bebraw
Feb 19 2015 07:00
Firtina Ozbalikci
@toxicFork
Feb 19 2015 10:38
great notes!
Matt Bilbow
@mattbilbow
Feb 19 2015 10:39
haha awesome
portals?!?!?!?
looks like react-modal isn't ok for production yet, https://www.npmjs.com/package/react-modal
Firtina Ozbalikci
@toxicFork
Feb 19 2015 11:51
is that just creating an element in the document then append it to the end of the body?

    this.node = document.createElement('div');
    this.node.className = 'ReactModalPortal';
    document.body.appendChild(this.node);
yyyyyyup
i'd rather have this explicit tbh... e.g. in my 'app' i have my reactmodalcontainer, and then put it into the context or pass it down via props or place a reference in the store or something...