4 ms·
Mint looks cool! Maybe this is answered somewhere, but what would you say is the differentiator between Mint and Svelte? Many of the design choices seem simila
by emerongi 7y ago
Mint looks cool!
Maybe this is answered somewhere, but what would you say is the differentiator between Mint and Svelte? Many of the design choices seem similar. I am in the position of starting a new hobby project soon myself and currently Svelte is the one I have landed on.
Thank you for your efforts.
- gdotdesign 7y agoThanks :) Mint has what Svelte doesn't: - consistent language with a good type system - at its base it is a functional language - styling is built in - https://www.mint-lang.com/guide/reference/components/styling-elements https://www.mint-lang.com/guide/reference/components/styling... - routing is built in - https://www.mint-lang.com/guide/reference/routing https://www.mint-lang.com/guide/reference/routing - language constructs for error handling - language constructs for asynchronous tasks - compiles to Preact so the build output is small - easy JavaScript interopability Svelte has what Mint doesn't: - it is basically JavaScript compiler - different syntax for template (HTML) vs code - code is just mostly JavaScript and can use NPM packages (I think) - have their own runtime without virtual DOM - transitions and animations are built in - reactive by default (without the need for language constructs) I haven't really played around with Svelte though so I might be a bit biased. I suggest that you try both a see what you like more. Let me know if I can help with that :)
- emerongi 7y agoThanks for the great answer, very comprehensive. I will try out Mint :)