bikeshaving / crank

The Just JavaScript Framework
https://crank.js.org
MIT License
2.7k stars 75 forks source link

Refactorings and features #208

Closed brainkim closed 3 years ago

brainkim commented 3 years ago

Refactorings to the custom renderer API in preparation of deferred mount/unmounting of elements. Lots of inlining of functions whose structure didn’t really make much sense. Like why did we call a generic commit() from updateChildren(), when within the commit() function we would again start doing different logic based on committing element tag.

Beeg changes:

brainkim commented 3 years ago

Branch name is inaccurate but GitHub is scuffed and won’t let me change it.

brainkim commented 3 years ago

https://twitter.com/jaredpalmer/status/1143112897553424384?lang=en