I'm a frontend developer from Chengdu, with a love for writing code
. I post blogs on zhangyu.dev.
In my spare time, I learn Three.js
. I try to write some English posts to level up my English, with the aim to work remotely in the future.
I also like skateboarding and skiing 🏂, but I don't do risky tricks.
blog
博客
react-markdown-toc
Generating a Table of Contents (TOC) from Markdown.
from-to
Transitioning from one value to another
tw-styled
Create Tailwind CSS-styled React components with ease using tw-styled.
react-server-only-context
A straightforward alternative for using context within React Server Components.
use-flip
Effortless FLIP animations with a React Hook for smoother transitions.
Integrate @shikijs/twoslash, @shikijs/transforms, add mdx components.
Rebuilding my blog with React Server Components and GitHub Discussions for a cutting-edge, backend-free, visually appealing experience.
Explanations of the history package in JavaScript, including pushState and replaceState methods, and a brief overview of how React Router uses history for navigation.
Swift 5.5 introduces Swift Concurrency with async/await syntax similar to web frontend async, simplifying asynchronous programming.
Guide to creating React Native modules in TypeScript with Swift/Kotlin, iOS/Android, and data exchange.