Open olavea opened 5 years ago
In v1, the children prop passed to layout was a function (render prop) and needed to be executed. In v2, this is no longer the case.
DIFF (-meaning?-)
import React from "react" export default ({ children }) => ( <div> - {children()} + {children} </div> )
I looked around and it seems like normal props are used here. What do you think @raae ?
In v1, the children prop passed to layout was a function (render prop) and needed to be executed. In v2, this is no longer the case.
DIFF (-meaning?-)