Comment Comment by bryanlarsen Why is mixing HTML into your code in PHP bad? Because it mixes presentation and logic.Why is mixing HTML into your code in React good? Because it isolates all the view code for a single component in a single file. parent bryanlarsen 9 years ago
Why is mixing HTML into your code in React good? Because it isolates all the view code for a single component in a single file.