shuding's repos on GitHub
TypeScript · 13828 watchers
nextra
Simple, powerful and flexible site generation framework with everything you love from Next.js.
TypeScript · 5366 watchers
cobe
5KB WebGL globe lib.
TypeScript · 2385 watchers
next-view-transitions
Use CSS View Transitions API in Next.js App Router.
MDX · 1340 watchers
nextra-docs-template
Nextra docs template
TypeScript · 1088 watchers
better-all
Better Promise.all with automatic dependency optimization
JavaScript · 1012 watchers
liquid-glass
Copy-paste Liquid Glass shader with SVG
TypeScript · 663 watchers
nstr
number → string, but looks good
JavaScript · 506 watchers
apple-pencil-safari-api-test
Canvas based sketch board, with force touch and real-time Bezier curves.
TypeScript · 408 watchers
legid
A library for generating safe, legit and random URL-compat IDs.
CSS · 143 watchers
cssosx
A CSS & JS made macOS UI.
JavaScript · 98 watchers
next-cms
JavaScript · 74 watchers
cc
Shu's Creative Coding template.
71 watchers
berlin-apartments
Information of apartments in Berlin for digital nomads.
TypeScript · 63 watchers
image-magnifier
Annotate images with magnifying glass effects - drag, resize, and adjust zoom levels. Free, client-side, no upload required.
JavaScript · 61 watchers
photos
JavaScript · 55 watchers
charch
中文网页排版工具
HTML · 44 watchers
coverflow
Apple’s Coverflow UI effect.
JavaScript · 40 watchers
100-days-ui
Turn @npaulflavius's 100 Days UI design into React components!
JavaScript · 40 watchers
flappybird
Flappy Bird in JS.
HTML · 36 watchers
css-computer
Computational Style Sheets
JavaScript · 34 watchers
ding
(deprecated) A douban FM client in OS X (web application).
JavaScript · 32 watchers
blog-template
JavaScript · 22 watchers
nextra-theme-docs
A documentation site theme for Nextra.
JavaScript · 21 watchers
flappy-cube
A flappy, juicy, zippy, happy tiny cube.
JavaScript · 19 watchers
fluentui-emoji-unicode
FluentUI emojis organized by unicode.
JavaScript · 15 watchers
coursejs
Create online simple & nice courses, just in 3 minutes.
TypeScript · 15 watchers
next-ts-plugin-vscode
Always-on Next.js TypeScript Plugin in VSCode
JavaScript · 14 watchers
animator
Canvas animations & gifs made easy.
TypeScript · 14 watchers
notion-blog
Notion based shud.in
JavaScript · 13 watchers
labs
labs
JavaScript · 13 watchers
nextra-theme-blog
A blog site theme for Nextra.
JavaScript · 9 watchers
blog
Next.js + MDX + ▲ ZEIT Now
9 watchers
genui-demo
9 watchers
icons
A crisp set of 15×15 icons designed by the @workos team.
JavaScript · 9 watchers
nextra-example
JavaScript · 8 watchers
innsbruck-old
A static blogging tool (to be reconstructed).
JavaScript · 8 watchers
opentype.js
Read and write OpenType fonts using JavaScript.
7 watchers
cmdk
Fast, unstyled command menu React component.
JavaScript · 7 watchers
cube
Renderer written with JavaScript ES6 (Computer Graphics from the ground up)
JavaScript · 6 watchers
ABS-frontend
Another Bookstore System (-frontend), part of my homework of Database System Concepts course in Fudan CS. 这是个典型的 AngularJS+Bootstrap app.
6 watchers
delay
alert(1); yield 1000; alert(2); // It works like MAGIC!
JavaScript · 6 watchers
ghc
Lazy GitHub clone: navigate files in CLI without downloading the whole repo.
JavaScript · 6 watchers
list-label
The list with fixed labels.
JavaScript · 6 watchers
og-example
JavaScript · 5 watchers
blog-1
JavaScript · 5 watchers
mak-old
(old repository) 坐等... ->
5 watchers
neon
用手机简易遥控浏览器(仿 Kinect 的体感操作……(据说很不稳定))
TypeScript · 5 watchers
next-shadcn-app
JavaScript · 5 watchers
next-site
The official website for Next.js
JavaScript · 5 watchers
next.js
The React Framework
5 watchers
phenomenon
⚡️ A fast 2kB low-level WebGL API.
JavaScript · 4 watchers
-2048
Reverse 2048 with AI.
CSS · 4 watchers
13cs
13CS 院衫设计
C++ · 4 watchers
algorithm-contests
OI / ACM 代码记录
4 watchers
awesome-frontend-charts
A curated list of awesome front-end visualization libraries (charts, maps, etc.), updating.
JavaScript · 4 watchers
leetcode-sol
弱。。。
CSS · 4 watchers
loading
Another CSS3 loading animation tool for full-page & blocks.
4 watchers
mime-db
Media Type Database
4 watchers
next-themes
Perfect Next.js dark mode in 2 lines of code. Support System preference and any other theme with no flashing
JavaScript · 3 watchers
faster
(Unique Hack Day)
TypeScript · 3 watchers
image-bench
Figure out how fast the image generation can be.
JavaScript · 3 watchers
paranoid-auto-spacing
自動在網頁中所有的中文和半形的英文、數字、符號之間插入空白。(攤手)沒辦法,處女座都有強迫症。
C++ · 2 watchers
.vim
My vim files.
JavaScript · 2 watchers
angel
:construction: constructing
JavaScript · 2 watchers
class-sheet
A package that generates image from class-sheet data.
CSS · 2 watchers
excited-frontend
Frontend files for "EXCITED!"
JavaScript · 2 watchers
js-crawler-demo
A sample webpage crawler using node.js: asynchronous + jQuery
2 watchers
mdx
JSX in Markdown for ambitious projects
Objective-C · 1 watchers
baidu-tieba-watcher
[Deprecated] 百度贴吧潜水员
CSS · 1 watchers
css-must-watch
A useful list of must-watch videos about CSS
JavaScript · 1 watchers
dogesite
WOW, such doge!
JavaScript · 1 watchers
dom-to-image
mod for mak.
Objective-C · 1 watchers
EGOCache
Fast Caching for Objective-C (iPhone & Mac Compatible)
HTML · 1 watchers
empty
i am empty
HTML · 1 watchers
fdu-hci-2016
Some experiments in human-computer interaction
JavaScript · 1 watchers
innsbruck-plugins
1 watchers
js-must-watch
Personal record of must-watch videos about javascript.
Objective-C · 1 watchers
MacGap2
MacGap 2 Beta
1 watchers
minutiae
[WIP] CSS-in-JS replacement for inline styles
JavaScript · 1 watchers
mov
Some NLP stuff
JavaScript · 1 watchers
napi-rs-website
Website for napi.rs
JavaScript · 0 watchers
algorithms.js
Atwood's Law applied to CS101
0 watchers
awesome-cn-cafe
A curated list of awesome café places in China.
HTML · 0 watchers
chinese-information-processing
Just homework.
C++ · 0 watchers
codeforces
Part of my code on codeforces.com
JavaScript · 0 watchers
colorwheel
:construction:
0 watchers
core-notes
Weekly meeting notes from the React core team
JavaScript · 0 watchers
coursebook-server
JavaScript · 0 watchers
elemental
A flexible and beautiful UI framework for React.js
HTML · 0 watchers
expressive-css
An approach to writing lightweight, scalable CSS using utility classes that are easy to write and understand.
JavaScript · 0 watchers
FCH5framework
Just for fun.
Python · 0 watchers
glances
Glances an Eye on your system
JavaScript · 0 watchers
inkboard
🚧
JavaScript · 0 watchers
introToGoogle
A presentation for introducing Google.
JavaScript · 0 watchers
introToHtmlAndCss
A simple slide intro to HTML & CSS, written with impress.js.
0 watchers
isomer
Simple isometric graphics library for HTML5 canvas
JavaScript · 0 watchers
material
Material design for Angular
JavaScript · 0 watchers
micro-oauth
JavaScript · 0 watchers
moreartyjs
Morearty.js - centralized state management for React in pure JavaScript
JavaScript · 0 watchers
node-express-mongoose-demo
A simple demo app in node.js using express, mongoose, passport.js for beginners
shuding

shuding

パラボラ
🏢  ZEIT / Developer & Designer
V2EX member #62762, joined on 2014-05-16 06:17:58 +08:00
3 G 85 S 86 B
Per shuding's settings, the topics list is hidden
Deals info, including closed deals, is not hidden
shuding's recent replies
Aug 24, 2023
Replied to a topic by vdrapb 程序员 一些关于 React 的疑问
1. Radix UI:细节做到极致
2. fetch:拥抱标准,同一份代码在主流浏览器和 Node.js 18+ 里都可以无依赖直接运行
3. TailwindCSS:所有 React 环境和模式下都完美的一套方案(当然也可以用类似的原子化方案如 UnoCSS / Windi CSS )
@mufeng 请问方便开一个 issue 吗?
Apr 10, 2023
Replied to a topic by Outshine Next.js 关于 next.js 13 请求封装的最佳实践的疑问
`useSWRMutation` 这个 hook 可以用来处理 POST/PUT/DELETE 之类的请求:

https://swr.vercel.app/docs/mutation#useswrmutation
虽然现在进不来,但 OpenAI 没必要堵死之后来中国做服务的可能性。但 OpenAI 现在没有时间精力让 ChatGPT 对中国合规。所以对于一个政治和文化差异巨大的市场来说,目前的保守做法就是不对其提供服务。
恭喜!
有好几个问题,首先 event listener 不应该放在这个带 count 依赖的 useEffect 里面,否则每次 count 变化都会造成 event listener 被删除然后重新注册。其次如 @cyitao 所说,你的 callback 里面的 count 是一个固定的外部引用。由于 React 的状态更新是异步的,event callback 和 rerender 的触发并不是完全 1:1 运行的。

建议读读 https://overreacted.io/zh-hans/a-complete-guide-to-useeffect 这篇文章。
赞一个 :D
Jun 1, 2022
Replied to a topic by shuding React 📝 一个 React Hook,让开发调试更加便捷
确实,如果可以内置到 React DevTools 就更好了。目前的 useDebugValue API 我觉得并不太有用。而自带的调试信息太模糊了,基本上都是 “hook changed”,没有太大价值,官方也不太有兴趣改进: https://github.com/facebook/react/issues/16622
Jun 1, 2022
Replied to a topic by shuding React 📝 一个 React Hook,让开发调试更加便捷
@ragnaroks 目前的表现是 `process.env.NODE_ENV === 'production'` 的时候自动禁用,还没办法配置
Sep 18, 2021
Replied to a topic by shuding React React 数据请求库 SWR 发布 1.0 正式版本
@shunia 多谢反馈!文档确实还有很多问题,很多地方只是用了例子,且没有详细解释概念。之后一定改进!
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1173 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 20ms · UTC 23:26 · PVG 07:26 · LAX 16:26 · JFK 19:26
♥ Do have faith in what you're doing.