Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dy authored Dec 27, 2023
1 parent 915b131 commit e118022
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ For `htm` manual, refer to [htm docs](https://ghub.io/htm).

## Justification

Originally that was just minimal HTML parser implementation (~60LOC), best from 10 variants in R&D branches.
HTM has better performance, but stricter limitations, so if your app renders components multiple times, then HTM can be a better choice.
But if you need HTML support and no so frequent updates, then XHTM is better - it's still faster than `innerHTML`.
Originally that was just minimal HTML parser implementation (~60LOC), best from 10 variants in R&D branches.<br/>
HTM has better performance, but stricter limitations, so if your app renders components multiple times, then HTM can be a better choice.<br/>
But if you need HTML support and no so frequent updates, then XHTM is a good choice<!-- - it's still faster than `innerHTML`-->.

<!--
## Comparison
Expand Down

0 comments on commit e118022

Please sign in to comment.