Reads and runs from top to bottom

Scripts are Linear

1text = user.askInput()2text = text.uppercase3user.show(text)

The script is run in order: 1, 2, 3.


Components are Linear

1let text = props.text2text = text.uppercase3return <h1>{text}</h1>

The component is run in order: 1, 2, 3.