Question about branch
AleksOrl opened this issue · comments
What is the better:
branch(predicate, renderComponent(Comp1), renderComponent(Comp2))(null);
or
branch(predicate, renderComponent(Comp1))(Comp2);
2nd
A React utility belt for function components and higher-order components.
AleksOrl opened this issue · comments
What is the better:
branch(predicate, renderComponent(Comp1), renderComponent(Comp2))(null);
or
branch(predicate, renderComponent(Comp1))(Comp2);
2nd