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

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton