Skip to Content
  • Website
Codsen
  • Home
  • Open Source
  • Articles
  • About

Articles→Tag→Remix

remixΣ=6

See all tags
Article  ·  Monday, 17 October 2022
Thoughts about sort-package-json v2 pure ESM

Thoughts about sort-package-json v2 pure ESM

The npm package sort-package-jsonopens in a new tab migrated to ES Modules in their v2 release and indirectly broke their named exports which our packages have been consuming. It was a major semver bump, but breaking changes slipped from their changelog and readme radar, so I wanted to explain what actually happened there.

Read article
all posted tagged remixall posted tagged reactall posted tagged meta
Article  ·  Monday, 01 August 2022
Sync state with URL params in Remix

Sync state with URL params in Remix

This weekend I was tinkering with string-strip-html GUI; I wanted to sync the state with URL params so that users could bookmark the page and visit later and automatically get those settings restored.

Here’s an MVP based on a forked Remix.js starter template on StackBlitz.

Read article
all posted tagged reactall posted tagged remixall posted tagged ts
Article  ·  Monday, 20 June 2022
Importing SVG in Remix MDX

Importing SVG in Remix MDX

A decade ago, Chris Coyier from CSS-Tricks describedopens in a new tab ways to consume SVG, which can be distilled into two groups: to link and to embed.

Fast forward to 2022, the market has shifted from WordPress+PHP to React+TypeScript, but the same dilemma “to link or to embed?” still applies because, at the bottom of it, we’re still dealing with the same HTML and CSS as we did a decade ago.

So what’s the best way to import SVG in MDX?

Read article
all posted tagged jsall posted tagged tsall posted tagged remixall posted tagged mdx
Article  ·  Saturday, 18 June 2022
CSS Styling via breadcrumb classes

CSS Styling via breadcrumb classes

Frameworks come and go — Remix, Next, Gatsby, WordPress, Hugo, Hexo, TextPattern — but the “classic” CSS styling tactics stay. If you still use SASS and embrace the CSS inheritance — you’re probably already using this technique.

Read article
all posted tagged metaall posted tagged htmlall posted tagged cssall posted tagged remix
Article  ·  Sunday, 12 June 2022
Syntax highlighting in Remix

Syntax highlighting in Remix

Syntax highlighting is done using either highlight.jsopens in a new tab or prism.jsopens in a new tab. Once you’ve picked one, you’ll have to set it up for code blocks: 1. within MDX and 2. outside MDX. That’s how it works on all kinds of frameworks, not just Remix, although I’ll post examples for Remix.

This setup is mostly a trivial task; however, there are a few niggles worth mentioning.

Read article
all posted tagged jsall posted tagged tsall posted tagged reactall posted tagged remixall posted tagged metaall posted tagged mdx
Article  ·  Monday, 16 May 2022
Our dark mode setup

Our dark mode setup

I used to believe that three-theme UI toggle (auto-dark-light) was superior to the two-theme, dark-light. But I don’t think that way anymore.

Read article
all posted tagged remixall posted tagged reactall posted tagged metaall posted tagged css

Copyright

All rights reserved © Roy Revelt 2026
All our open source packages are under MIT licenceopens in a new tab

Activities

🐛 See a bug? Raise an issueopens in a new tab
💘 Check out the Indiewebopens in a new tab and Libera manifestoopens in a new tab