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 ca609d3 commit 915b131
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ 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.
Generally HTM has better performance & cache, but stricter limitations, so unless your project needs HTML support, it's recommended to use HTM.
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`.

<!--
## Comparison
Expand Down

0 comments on commit 915b131

Please sign in to comment.