I will focus more on the () part of question. The { score : 0 , } is just an object return; Here the things to understand is 'return', ';' and '()'; ASI (Automatic Semicolon Insertion) is when JavaScript assumes a ; in certain places in your JS program even if you didn’t put one there. return statements can easily break across multiple lines, just not when there’s nothing after return but the newline/line break, same applies for break, continue and yield import React from 'react' ; import { Text } from 'react-native' ; const Cat = () => { return ( < Text > Hello, I am your cat! </ Text > ); } export default Cat; The above code will work fine if we remove the () but we have to make sure the text part is in single line else the new line will do ASI and the remaining fields are ignored and may throw parse error by react; const Cat = () => { return < Text > Hello, I am your cat! </ Text > }