News for hackers. Stuff that matters.
Re:What should go into JSX 2.0? by tracker1 on Sunday October 16, 2016 @04:14PM (#12720687)
You can already do that...

    function ConditionalSpinner({renderIf, children}) {
      if (!renderIf) return null;
      return children[0];
    }

There are no comments on this comment yet.