Using Marquee with React and TypeScript
Published 📅: ....
Last modified 📝: ....
Share this post on BlueskySee discussion on Bluesky
I really enjoy using the <marquee> HTML element, the fact that it still works
in browsers today even thought its been deprecated (and its sibling <blink>
has been removed) makes it all the better.
Its always so cool seeing a webpage show up after some work configuring tools, or bootstrapping a new app and having the "hello world" message scroll by automatically because of the marquee element.
Unfortunately, TypeScript and React's types have really leaned into the whole "deprecated" thing, so you get these red underlines and also sometimes build fails.