Open funkjunky opened 7 years ago
I took the expo starter app and added my own stateless component to the router and pushed it.
When I do, I get the warning "Warning: Stateless function components cannot be given refs. Attempts to access this ref will fail"
My stateless component is nothing more than:
const Demo = () => <Text>Hello!</Text>; export default Demo;
I took the expo starter app and added my own stateless component to the router and pushed it.
When I do, I get the warning "Warning: Stateless function components cannot be given refs. Attempts to access this ref will fail"
My stateless component is nothing more than: