🎨 Aesthetic is an end-to-end multi-platform styling framework that offers a strict design system, robust atomic CSS-in-JS engine, a structural style sheet specification (SSS), a low-runtime solution, and much more!
The previous attempted to match based on a cached item, which was complicated to write correctly. The new approach generates a unique key based on the options. This somehow boosted block parsing...
parseAsBlock() x 11,667 ops/sec ±3.56% (85 runs sampled)
parseAsDeclaration() x 11,560 ops/sec ±12.62% (82 runs sampled)
Fastest is parseAsBlock()
Screenshots
Checklist
[x] Build passes with yarn test.
[x] Code is formatted with yarn format.
[x] Tests have been added for my changes.
[x] Code coverage for my change is 100%.
[x] Documentation has been updated for my changes.
Summary
The previous attempted to match based on a cached item, which was complicated to write correctly. The new approach generates a unique key based on the options. This somehow boosted block parsing...
Screenshots
Checklist
yarn test
.yarn format
.