This is an extract of my code:
render() {
console.log("first log");
return (
<View onLayout={e => console.log("second log")}>
...
The console displays "first log" but not the second one. The view seems to render correctly. I tried with other views but the result is the same. I'm using react-native 0.48.4.