Follow up from #12
Attempts:
- Used react internal differ by using
createElement; this resulted in weird behaviour and in complexity in syncying dom with state
- Used https://github.com/fiduswriter/diffDOM; encountered two bugs: text nodes are double encoded and newlines does not work well on Safari
I'm thinking of writing a simple dom differ for our use case
Follow up from #12
Attempts:
createElement; this resulted in weird behaviour and in complexity in syncying dom with stateI'm thinking of writing a simple dom differ for our use case