4 ms·
I think that you are pointing at the wrong file, it looks like the library is actually around 4k lines. The point may still be valid, but it was not a trivial c
by jaltekruse 11y ago
I think that you are pointing at the wrong file, it looks like the library is actually around 4k lines. The point may still be valid, but it was not a trivial codebase to fork and they seem to have some architectural goals that they didn't think any of the current libraries were well suited to work with.
https://github.com/Raynos/mercury/blob/master/dist/mercury.js https://github.com/Raynos/mercury/blob/master/dist/mercury.j...
- darklajid 11y agoStumbled upon this [1] in their Readme: mercury is lean, it's an weekend's read at 2.5kloc. (virtual-dom is 1.1kloc, an evening's read.) 1: https://github.com/Raynos/mercury https://github.com/Raynos/mercury
- tel 11y agoHaving attempted to read virtual-dom several times I highly disagree with it being an "evening's read". It is highly complex, idiosyncratic, has a number of difficult to grok internal conventions, and at least a few large algorithms with next to no documentation. I think a lot of people deservedly like it's API, but it is far from an easy read.