Reads and runs from top to bottom
Scripts are Linear
1
text = user.askInput()
2
text = text.uppercase
3
user.show(text)
The script is run in order: 1, 2, 3.
Components are Linear
1
let text = props.text
2
text = text.uppercase
3
return <h1>{text}</h1>
The component is run in order: 1, 2, 3.