Porting solid-meta to React, using Vite 3 and Bun (part 2)

Опубликовано: 10 Июль 2026
на канале: Parasocial Fix
670
8

#vite3 #bun #javascript

This package is going to showcase modern build tools: Vite 3 and bun. And hopefully going to be fast and have a small bundle size.

So far I have created the https://www.npmjs.com/package/reactjs... - to allow me to change the webpage's title tag.

We use create-react-app at work, so I need to find a way to change the window title in SPA. Here are the alternatives I've found so far:
https://www.npmjs.com/package/react-h...
https://www.npmjs.com/package/react-d...
https://www.npmjs.com/package/react-head
https://github.com/vercel/next.js/blo...
https://svelte.dev/docs#template-synt...
https://www.npmjs.com/package/solid-meta
https://github.com/nanojsx/nano/blob/...

I like the SolidMeta the most, so we are setting out to port it to React :)

So we are going to write our own version called reactjs-meta:
https://www.npmjs.com/package/reactjs...

We are going to use Vue 3 which is just out this week. With `ni` command written by one of the core team members of Vue (and Vitest, and Nuxt). As well as Bun for that sweet sweet speed boost:
  / 1547218048410607616  
https://www.npmjs.com/package/@antfu/ni by https://antfu.me/
https://bun.sh/

Also, check out my projects:
https://www.npmjs.com/package/react-l...
https://www.npmjs.com/package/solidjs...
I actually built SolidJS version on stream    • Porting react-lazily from React to SolidJS...  


Chapters:
0:00 hi friends
0:27 what is reactjs-meta?
3:08 build tools: vite, special build script
6:23 my stream setup, internet issues
11:39 twitter review: vscode 3-way merge, tailwind-merge
16:47 coding
3:11:03 please subscribe :)
3:12:18 join t.me/parasocial community on Telegram