mathstodon.xyz is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance for maths people. We have LaTeX rendering in the web interface!

Server stats:

2.7K
active users

#jsx

1 post1 participant0 posts today

It has been a long time I put anything "more serious" out in my blog, but hey, now there is something!

In short: a dump post of my current approach and understanding of HTML custom elements and how to fit them with React and TypeScript.

There is even a practical project to look at the end, even if it isn't a perfectly polished one.

vesa.piittinen.name/blog/2024/

vesa.piittinen.nameHTML custom elementsThis is a dump of my custom elements knowledge and how to make it all work with React.
Replied in thread

@aoristdual I'd probably look for something that doesn't need another toolchain (i.e. compilation) to keep things as simple as possible. Using #preact as a native es module together with #htm to write #jsx-style template tags for example.

preactjs.com/guide/v10/getting

preactjs.comGetting Started – Preact GuideHow to get started with Preact. We'll learn how to setup the tooling (if any) and get going with writing an application.