XML inside PHP

Port XHP to Javascript.

Main idea of React is not JSX, but update model.

You need to be right before being good.

First, have solution with right idea, then iterate on it.

DOM is stateful

– input focus and selection

  • scroll position

  • iframes

  • other states hidden from programmer

It’s better to re-use nodes that re-rendering it.

The most web use-cases, it could be optimised.

key attr – to ensure identity