Tag: svelte

How to do polling in Svelte and InertiaJS

Just a quick snippet about how to do polling the Svelte way. import { onDestroy } from "svelte" let interval const poll = () => { clearTimeout(interval) Inertia.reload() interval = setTimeout(poll, 1000) } poll() onDestroy(() => clearTimeout(interval)) …

Testing svelte-dnd-action with Cypress

Using Drag & Drop is probably easier than ever due to virtually unlimited supply of new front-end libraries appearing every day. Making Drag & Drop for a sortable trello-like boards or for file uploads work in the browser is thus becoming a matter of importing a module an…

Giving up hope on svelte-kit

Casually checking on status of svelte-kit after a few weeks of not doing so when I returned from the holiday. The result was not good. The open issues for the 1.0 milestone just pile up. It feels like it will never be released. I have got involved in the #733 due to traling slash…

Trying tauri with svelte

I had tried tauri and was pretty pleased by the result. Tauri produces a single binary with the UI made in web frontend technologies we love to hate like React, Vue or even Svelte. It's magic is done in Rust. Tauri's main competitor appears to be Electron. Although Electron is qu…

SvelteKit is is almost beta

Now that SvelteKit repository got unwillingly turned public in an attempt to increase the available GitHub Actions supply for the project, we all now have a chance to peek at the some of the discussions the dev team currently has or or has had in the recent past. I was among the …