Our great sponsors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
First, iterating some number of times. In Svelte if we want to iterate 16 times we can do {#each {length: 16} as _, i}. Malina does not support this, and we need to convert that to an array with {#each Array.from({length: 16}) as _, i}. To be honest both just need to add {#range ...} statement already, this is far too common use case. This has been an open Svelte issue for over two years, Svelte creator supports it, so I have no idea why it's still not happening.
The other difference is one of many bugs in Malina I discovered. We'd like to do {:else} , but HTML entities do not work properly in Malina in if/else blocks.