|
|
|
|
|
by anon4242
1207 days ago
|
|
I'm not a JS/Vue/React programmer but I would definitely expect function One to return <div>Count: 4</div> if props.count == 2 when One is called. For function Two I would be more suspicious and would not be overly surprised if it returned <div>Count: {props.count * 2}</div> to be evaluated at a later stage. |
|