Results 6 comments of mistlog

Thanks! Currently, `scss` and `styled-components` are not supported, the only way to use `css` is to place a `.css` file along side `.tsx` file, for example: [9-motion/spring](https://github.com/mistlog/svelte-draft-tutorial/tree/master/src/examples/9-motion/spring). In implementation, see...

I found that we can use css-in-js in svelte: https://svelte.dev/blog/svelte-css-in-js. So I added a demo in svelte-draft-template, see [demo/css-in-js](https://github.com/mistlog/svelte-draft-template/tree/demo/css-in-js) branch.

Yes, we only support double-quotes for consistent code style. For example, in javascript, we can use both '' and "", then one day we will find that we need code...

I implemented [typetype](https://github.com/mistlog/typetype) so that we can generate typescript type easily. It's still primitive, however, it really works. For example, in the [url-parser](https://github.com/mistlog/typetype-examples/blob/main/examples/url-parser/url-parser.type) example, the input would be such as:...

Hi, inspired by the popular React library, maybe we can treat each rule as component, and build grammar just like build UI. I implemented such a library in https://github.com/mistlog/react-peg and...

summary: how to loop union: ```ts type loopUnion = Item extends Item ? `loop ${Item}` : never; type result = loopUnion; // "loop A" | "loop B" | "loop C"...