Embeddable hasties 🤯

Published by: Mads Bram Cordes, Founder of hasty.dev on Oct 29, 2021


The What

What feature does any great tool require? You got it! An embeddable component! This is exactly what I just added as the latest feature of #hasty.

With hasty.dev you've got the ability to add the globals along with (or without) some tests and simply press the "Embed" button to get an easily embeddable piece of code, which you can embed any- and everywhere amongst the web - sometimes even natively, but this depends on the software.

So, what are you waiting for? Go check out the new embeddable feature, if you don't know which code to test, I've even prepared one for you: https://hasty.dev/THP8txlaQLMsGdno1iGyH_.

The Why

Is this even useful, you may ask. The answer to that is - of course - yes, very!

I, for one, am going to be using these in some posts in the future. These can even be used educationally. Simply think about it, the professor scolds the student, that some piece of code is waaay faster than their code, but the student won't listen without proof, but how do they test it? Well, simply hasty those two code-pieces; and bam! The student was right all along.

The How

Just navigate to hasty.dev, write your "global" code, a few test cases, and press "Embed". Simple as that!

PS. This is an embedded hasty:


Sunshine Social

hasty.dev

Comments (0)