E.g. Dropdown passed to a menu item as children that only shows on http://state.active . Wrapping in a closure seems really gross
-
-
- 3 more replies
New conversation -
-
-
not sure i understand but maybe I do, and I use render callbacks.
@reactjs
New conversation -
-
-
I put a lot of ternaries inline in my JSX. Branches that I don't take don't ever execute.
- 1 more reply
New conversation -
-
-
return <div>{showSubTree && <SubTree/>}</div>?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
maybe prematurely optimizing? in the 'children' case, if they aren't rendered in the receiving component then the cost is low
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
he/him 