|
|
|
|
|
by emilos
767 days ago
|
|
Correct, that's part of the reason. I've been wanting to move fast without having to worry about the little quirks of different templating languages, frameworks and just get the job done. I've been using it for small projects and I didn't want to be bothered with all of the setup required to get jsx/tsx transpilation in place. Another important reason was that I wanted a tool that would let me reach high results in lighthouse, and that's not something you'd get with other tools quickly. Critical css out of the box seemed to be approach that worked for me in this scenario. |
|
[0] I documented the compiler options and the reasoning behind them in if you expand the Explanations section of this Getting Started document: https://worldmaker.net/butterfloat/#/getting-started
[1] https://github.com/WorldMaker/butterfloat/blob/main/jsx.ts
[2] https://github.com/snabbdom/snabbdom/blob/master/src/jsx.ts