SvelteJS

geoffrich,
@geoffrich@front-end.social avatar

5 is now in the "Release Candidate" phase: https://svelte.dev/blog/svelte-5-release-candidate

"This means that the design of the framework is largely settled, with no anticipated breaking changes between now and the stable release, and that the most egregious bugs have been stomped.

"It doesn't mean that it's ready for production, or that nothing will change between now and 5.0. But if you've held off on dabbling with Svelte 5 during the public beta phase, now is a great time to try it out."

kristin_baumann,
@kristin_baumann@vis.social avatar

Some D3 canvas and Svelte fun with the Mandelbrot fractal :)

First time trying out @viz_hub: https://vizhub.com/kristinbaumann/mandelbrot_fractal

mauve,
@mauve@mastodon.mauve.moe avatar

Brushing up on to do code reviews for a project and I gotta say it's pretty magical. :P

https://svelte.dev/docs/svelte-components#script-3-$-marks-a-statement-as-reactive

look997,
look997 avatar

@mauve Don't get used to it, they abandoned this syntax in Svelte 5. xD

wiredprairie,
@wiredprairie@mastodon.social avatar

I'm following the ARIA authoring practices from the W3 for web components I'm writing for a app.

I've been experimenting with lots of companies' web sites and component libraries.

It's disappointing how much variation there is in support (even from big companies). Many have wrongly applied anti-patterns and have failed to cover even 25% of the documented patterns.

A lot of component libraries do the minimum and still claim . 🤬 Trust these after verification.

wiredprairie,
@wiredprairie@mastodon.social avatar

@aardrian Is there a better resource you'd suggest for patterns/practices? I want to do whatever is the current best practices to follow.

I only want to create things when the native component isn't a good fit for a web app (or doesn't exist at all).

aardrian,
@aardrian@toot.cafe avatar

@wiredprairie BBC GEL has some good stuff, and it is typically backed up with testing / feedback:
https://www.bbc.co.uk/gel

Even the support notes on the APG patterns that have them are meh:
https://adrianroselli.com/2023/04/no-apgs-support-charts-are-not-can-i-use-for-aria.html

The third paragraph links to problems I have with APG overall.

kristin_baumann,
@kristin_baumann@vis.social avatar

𝗗𝘂 𝗕𝗼𝗶𝘀 𝗗𝗮𝘁𝗮 𝗩𝗶𝘀𝘂𝗮𝗹𝗶𝘇𝗮𝘁𝗶𝗼𝗻 𝗦𝗼𝗰𝗶𝗲𝘁𝘆 𝗖𝗵𝗮𝗹𝗹𝗲𝗻𝗴𝗲 - 𝗪𝗲𝗲𝗸 𝟵/𝟭𝟬. My re-creation of Du Bois' poster no. 51 implemented with D3 & Svelte. Once more close to the original and responsive.

Live Version: https://du-bois-challenge-2024.kristin-baumann.com/#challenge9
Github: https://github.com/kristinbaumann/du-bois-challenge-2024

kristin_baumann,
@kristin_baumann@vis.social avatar

Du Bois Data Visualization Society Challenge - Week 7/10: My recreation of Du Bois' poster no.47, done with D3 & Svelte. Again I tried to recreate it as close to the original as possible, make it responsive and added a pattern fill to match the hand-painted look.

Live Version: https://du-bois-challenge-2024.kristin-baumann.com/#challenge7
Github: https://github.com/kristinbaumann/du-bois-challenge-2024

seblammers,
@seblammers@vis.social avatar

@kristin_baumann

The pattern fill is great touch!

kristin_baumann,
@kristin_baumann@vis.social avatar

Du Bois Data Visualization Society Challenge - Week 6/10: My recreation of Du Bois' poster no. 54, done with D3, Svelte. Again I tried to recreate it as close to the original as possible and make it responsive.

Live Version: https://du-bois-challenge-2024.kristin-baumann.com/#challenge6

Github: https://github.com/kristinbaumann/du-bois-challenge-2024

kristin_baumann,
@kristin_baumann@vis.social avatar

Du Bois Data Visualization Society Challenge - Week 5/10: My recreation of Du Bois' poster no. 13, done with D3, Svelte. Added a pattern fill to match the hand-painted look & transitions on load.

Live Version: https://du-bois-challenge-2024.kristin-baumann.com/#challenge5

Github: https://github.com/kristinbaumann/du-bois-challenge-2024

mandrasch,
@mandrasch@social.tchncs.de avatar

Discussed my current painpoints with a bit in Craft Discord. Coming from a Components perspective, the Developer Experience is just not as good currently. Things take much more effort to set up, you need to understand Includes vs. Embeds vs. Macros. This is a general PHP CMS challenge of course. 🤷 On the other hand: You get SSR easily without wild cloud setups in PHP 😉 🤓

Posted about components here if: https://github.com/twigphp/Twig/issues/3951#issuecomment-1970764587

mandrasch,
@mandrasch@social.tchncs.de avatar

Got a nice reply on Discord by Andrew Welch

> „Twig isn't great for components currently, but they hopefully will be addressing some of that in Twig 4.“

Fingers crossed! 🤞

andre,
@andre@fedi.jaenis.ch avatar

Thanks to the amazing effort by @laxla we can now inspect in proper Hebrew:

https://anvil.codeberg.page/anvil/?path=/story/organisms-loginform--plain&globals=locale:he

I broke a little with idioms here insofar as I have Pages merely pass a context object into a component.

This in turn allows me to utilise to describe the interface in different configurations (I have tests in place as well).

It's still early days but we tackle one page at a time to build up this (F2 for short).

In case you are interested in translating, hit me up. Be warned that things might move around or get dropped. I prefer early feedback to easily correct course if needed.

29decibel,
@29decibel@mastodon.social avatar

Working on Svelte is so rewarding as a long time vanilla JS developer. All the accumulated web knowledge over the years just instantly available to you, while enjoying the augmented DX.

I have to say that's the best thing happened to the web. Imagine you don't need to throw away everything in order to progress, instead just enjoy the compounding benefits of your existing web knowledge.

Thank you Svelte team!

oleksify,
@oleksify@mastodon.social avatar

I’m starting to fall in love with @sveltejs I finally have a change to work with Svelte within real production codebase and it's nothing but a pleasure. For a newbie with long React background this feels like - «OMG, it actually could be just that simple!»

It's still early days, and I'm only scratching the surface but so far it feels really good.

silas,
@silas@programming.dev avatar

Welcome! Yeah, I definitely remember the feeling. Feel free to post any questions as you go :)

kristin_baumann,
@kristin_baumann@vis.social avatar

Du Bois Data Visualization Society Challenge - Week 3 of 10:

My recreation of Du Bois' poster no. 19, again implemented with D3 and Svelte, with transitions on load and hover interactions.

Live Version: https://du-bois-challenge-2024.kristin-baumann.com/#challenge3

Github: https://github.com/kristinbaumann/du-bois-challenge-2024

video/mp4

seblammers,
@seblammers@vis.social avatar

@kristin_baumann

It's looking great on mobile now! Really love the style and your modern adaptation of it.

And you already added another challenge! Great stuff. Thanks for sharing all this!

kristin_baumann,
@kristin_baumann@vis.social avatar

@seblammers There are some quite interesting looking ones coming, that are more than bars :)

marcoow,
@marcoow@mastodon.social avatar

If you're in Munich, join @paoloricciuti and myself this Friday for @mainmatter's free workshop.

We'll be building a fully functional, progressively-enhanced app throughout the day.

The workshop will be hosted by our friends at Experteer in their office in the center of Munich.

Sign up here: https://ti.to/mainmatter/intro-to-svelte-sveltekit

kristin_baumann,
@kristin_baumann@vis.social avatar

The 2024 Du Bois Data Visualization Society Challenge has started!

Here is my re-creation of Du Bois Poster Nr. 6 for week 1, implemented with D3 and Svelte.

Live: https://du-bois-challenge-2024.kristin-baumann.com/#challenge1
Github: https://github.com/kristinbaumann/du-bois-challenge-2024

seblammers,
@seblammers@vis.social avatar

@kristin_baumann

Ah, yes that works. I was just wondering if the distance between the 4 lines (or ticks) is slightly uneven? But maybe that's just my brain being misled by the different widths of the black chart element...

kristin_baumann,
@kristin_baumann@vis.social avatar

@seblammers looks even to me, let's see in the final re-creation

  • All
  • Subscribed
  • Moderated
  • Favorites
  • svelte
  • ngwrru68w68
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • InstantRegret
  • GTA5RPClips
  • Youngstown
  • everett
  • slotface
  • rosin
  • osvaldo12
  • mdbf
  • kavyap
  • cubers
  • megavids
  • modclub
  • normalnudes
  • tester
  • khanakhh
  • Durango
  • ethstaker
  • tacticalgear
  • Leos
  • provamag3
  • anitta
  • cisconetworking
  • JUstTest
  • lostlight
  • All magazines