himself65's repos on GitHub
TypeScript · 63 人关注
affine-minimum
build AFFiNE in minimum code and the most modern way
JavaScript · 59 人关注
did-zhihu-close-down-today
知乎今天倒闭了吗?
TypeScript · 22 人关注
big-watermelon
合成大西瓜
14 人关注
books
TypeScript · 9 人关注
bread-investment
理财盒子助手 Chrome/Firefox 插件[WIP]
9 人关注
Evaluation-of-Y9000X
[WIP] Y9000X 顶配版测评文章
Kotlin · 8 人关注
astoria
Himself65 offical website backend part based on Koa.js
TypeScript · 8 人关注
BreadTranslator
OCR翻译器,基于Electron(Node.js)
Python · 8 人关注
chenzheBot
QQ Bot
JavaScript · 8 人关注
class-callable
TypeScript · 5 人关注
caniusenode
Can I use this node API in ...(deno, bun, cloudflare worker, edge runtime, winterjs)?
C++ · 5 人关注
create-addon
Create node.js addon CLI
4 人关注
bread-love-study
JavaScript · 4 人关注
create-bread-app
a frontend-scaffold which simplify the code experience
C# · 3 人关注
BioArmy
Unfinished unity game code backup from 2018
Vue · 3 人关注
blocksuite-vue
3 人关注
blog
JavaScript · 3 人关注
configuration-list-react
TypeScript · 2 人关注
affine-waku
experimental project for affine & waku
TypeScript · 2 人关注
ai
Build AI-powered applications with React, Svelte, Vue, and Solid
TypeScript · 2 人关注
athena-next
Not a general propose AI Agent
JavaScript · 2 人关注
better-zhihu
zhihu Chrome extension
2 人关注
blocksuite-adapter
Python · 2 人关注
BoardPainter
A script by py3
Python · 2 人关注
Countdown-Bot
QQ群倒计时bot.
Rust · 2 人关注
evw
event-driven workflow for cross JS runtime
1 人关注
2023-react-advanced
Rust · 1 人关注
996.ICU
Repo for counting stars and contributing. Press F to pay respect to glorious developers.
TypeScript · 1 人关注
AFFiNE
There can be more than Notion and Miro. AFFiNE is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
Vue · 1 人关注
AFFiNE.pro
AFFiNE official website, source for affine.pro
TypeScript · 1 人关注
async-context-polyfill
1 人关注
awesome-json
A curated list of awesome JSON libraries and resources.
1 人关注
awesome-os
A list of operating systems and stuff
TypeScript · 1 人关注
better-auth
The most comprehensive authentication library for TypeScript
TypeScript · 1 人关注
bunchee-issue
HTML · 1 人关注
CodeLibrary
A bunch of code to self-use
JavaScript · 1 人关注
COMS-336
1 人关注
Dress
TypeScript · 1 人关注
DWARF-vscode
vscode extension to visualizing the results of readelf
1 人关注
editor.js
A block-style editor with clean JSON output
JavaScript · 0 人关注
996.TSC
996.ICU周边文化 | 创意板块(主站:996.ICU)
TypeScript · 0 人关注
affine-cla-action
AFFiNE CLA action
Vue · 0 人关注
affine-infra-slide
CSS · 0 人关注
affine-public-workspace-proxy
TypeScript · 0 人关注
ai-ping
0 人关注
amaro
Node.js TypeScript wrapper
0 人关注
AOE4-AdvancedGameSettings
Game mode that allows more customization over standard game rules in Age of Empires IV
TypeScript · 0 人关注
api
Promise and RxJS APIs around Polkadot and any Substrate-based chain RPC calls. It is dynamically generated based on what the Substrate runtime provides in terms of metadata. Full documentation & examples available
0 人关注
async-cache-dedupe
Async cache with dedupe support
TypeScript · 0 人关注
async-call-rpc
A lightweight JSON RPC client & server
C# · 0 人关注
At-Before
0 人关注
autoform
🌟 Automatically render forms for your existing data schema
Shell · 0 人关注
autopatch-webhook
0 人关注
awesome-lit
A curated list of awesome Lit resources.
TypeScript · 0 人关注
better-auth-debug-express-vercel
TypeScript · 0 人关注
better-call
a tiny web framework for typescript
0 人关注
better-fetch
Advanced fetch wrapper for typescript
0 人关注
BetterZhihu
0 人关注
bigwatermelon
合成大西瓜源码,修改版
TypeScript · 0 人关注
blocksuite
💠 BlockSuite provides building blocks for collaborative applications.
0 人关注
blog-paper
静态的,微博客+博客。 Personal microblog build by Next.js
0 人关注
bun
Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
TypeScript · 0 人关注
bunchee
Zero config bundler for ECMAScript and TypeScript packages
JavaScript · 0 人关注
bunchee-issue-593
TypeScript · 0 人关注
bunchee-issue-emit-no-warning
TypeScript · 0 人关注
bundler-test
0 人关注
canvas-grap-js
TypeScript · 0 人关注
Carbon
The Carbon MteRT-any-ts
TypeScript · 0 人关注
cdot.network
C · 0 人关注
chcore-lab
0 人关注
cla-test
JavaScript · 0 人关注
compromise
modest natural-language processing
C++ · 0 人关注
coms-327
Java · 0 人关注
COMS-342
Java · 0 人关注
COMS472-Project-2
0 人关注
content
The content behind MDN Web Docs
0 人关注
core-validate-commit
Validate commit messages for Node.js core
0 人关注
course-plus
SJTU 学期开课表索引与虚拟排课
C++ · 0 人关注
cpp-lib
0 人关注
cvc
Coupon and voucher center
TypeScript · 0 人关注
CyPlanner
0 人关注
DARC
Decentralized Autonomous Regulated Company (DARC) is a virtual machine company that runs on any EVM-compatible blockchain. It features a built-in multi-token and plugin system.
0 人关注
daruk
a node.js web framework based on typescript
Shell · 0 人关注
daruk.org
daruk 官方文档
0 人关注
DefinitelyTyped
The repository for high quality TypeScript type definitions.
TypeScript · 0 人关注
deno
A secure JavaScript and TypeScript runtime
0 人关注
dev-kit
typing of shared
0 人关注
docs
0 人关注
document-model
❗️WIP❗️
0 人关注
docusaurus
Easy to maintain open source documentation websites.
0 人关注
docusaurus-openapi-docs
🦝 OpenAPI plugin for generating API reference docs in Docusaurus v3.
0 人关注
drizzle-orm-docs
Drizzle ORM documentation website
0 人关注
dxt
Desktop Extensions: One-click local MCP server installation in desktop apps
0 人关注
electron
:electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS
JavaScript · 0 人关注
electron-conditional-exports
JavaScript · 0 人关注
electron-stream-api
0 人关注
endo
Endo is a distributed secure JavaScript sandbox, based on SES
0 人关注
examshit
himself65

himself65

V2EX 第 470184 号会员,加入于 2020-02-19 16:50:08 +08:00
I’m just a nobody. Please don't be mad because of a stranger on net.
根据 himself65 的设置,主题列表被隐藏
二手交易 相关的信息,包括已关闭的交易,不会被隐藏
himself65 最近回复了
95 天前
回复了 fx 创建的主题 Node.js adonisjs 有没有现成的注册登录库?
better-auth 是目前 nodejs 里好用的鉴权库

https://www.better-auth.com/
一般规律就是离钱越远的项目(无论开源)代码质量越高
jotai ,我在维护

https://github.com/pmndrs/jotai
157 天前
回复了 tukon479 创建的主题 分享创造 开源了一个现代化照片画廊网站 - Afilmory
既然题主提到了 react 19 (带版本号),想请问用到了 19 哪些功能
虽然喜欢不喜欢 next.js 是个人观点,其次楼上的各种说法其实都有些事实错误。

首先你只需要在顶层的组件中开启 use client ,所有子组件也会判断为 client side component 。你们遇到这个问题绝对是每次创建新 page.tsx 的时候没有写 use client ,当然你也可以说“在每个文件”……

其次我个人觉得“选择任何 UI 框架,Astro 给你自动做静态渲染”这个看起来很牛逼的 propaganda 实际上会出很明显的 edge case ,你无法保证所有你写的组件或者你用的依赖都是面向静态的,我认为这会造成很多未预料的事情……当然写博客这种写一次用一辈子的项目可能并不需要考虑这些事情,但我觉得这个事情本身和 Next.js 默认 server side 本质上没有任何区别。

混合框架会很明显的导致整个客户端包体积显著上升,当然你全写的是静态那是另说,但另外我觉得如果一个项目能混用这么多 web 框架,那这个项目本身其实就有点炫技的成分在里面,哪有真产品一下子什么框架都有。

不过 选择性水合( partial hydration )这个事情我倒是很赞同,我目前在一个 react framework 里面也推进了这个特性,不过我觉得群岛概念这个属于新瓶装旧酒,没什么新奇的,你只不过是本来多套一层组件变成了 props 里的保留关键字。

另外我仔细阅读这个文档的时候发现了一个逻辑错误,https://docs.astro.build/zh-cn/guides/server-islands/#%E6%9C%8D%E5%8A%A1%E5%99%A8%E7%BE%A4%E5%B2%9B%E7%BB%84%E4%BB%B6
这里头像回退 GenericAvatar 的 slot fallback 虽然没有写放在哪里,但是我假定是 Avatar 的一个 children ,但是问题来了,如果做到不运行 Avatar 里面的请求代码的同时把 GenericAvatar 插进去。
LlamaIndex
> 并指导一二

这里面有很多可以深度挖掘的东西。

如果要深挖 React ,18 、19 出了这么多 API ,简单扫了一下你这里面大多数可以迁移到新的 API 优化一些(比如 useSyncExternalStore 、useTransition……),多读读官网 docs ,很多基本的 pitfall 全在你项目里面出现了一遍( deps 、useEffect……)

状态管理你都没有做,点一下按钮状态都丢了,这些你考虑过吗……

从工程化角度说,你这里面代码风格挺乱的,有时候 style 有时候 css in js ,文件命名……这下下来 eslint 、prettier 你有配吗

从前端角度说,这个项目目前是一个 CSR-only app ,你这个可以有 SSR 你可以尝试,React 出了 RSC 你可以尝试,Streaming UI 你可以做,怎么随便点一下整个屏幕都白了……另外 Vite 有很多自定义的 API 可以自己搭一个 server 玩玩……

随便说几句
只看 React 部分的话,写法有点过时了。
从整个前端质量看的话,属于是没有什么复杂度的 CRUD project ,里面也没有多少比较深的前端技术
2023-11-29 10:58:47 +08:00
回复了 rizon 创建的主题 React react 的严格模式下强制重新渲染引发的问题及解决方案及讨论
同意#15 的观点,你这个 React 用法是有问题的,你需要把 processor 的初始化放在 React 外面。举个例子

```ts
const processor = buildProcessor()
const Component =() => {}
```

如果不能 SSR 那就判断一下 typeof window === "undefined"。
如果是一个异步,包一个 use(promise)

useEffect 是连接外部状态的一个 hook ,那这个东西来初始化整个数据其实是不符合 React 的思路

https://react.dev/reference/react/useEffect#connecting-to-an-external-system

那这个举例,server 是 React UI 之外的已经有的东西,connection 才是 useEffect 去 establish 的事情
2023-10-19 16:46:30 +08:00
回复了 ChrisFreeMan 创建的主题 Node.js Web Components 2023 年 10 月份了,现在怎么样了
可以试试 lit 。
个人感觉大部分库对于 shadow dom 的支持还是很差的,
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   1458 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 41ms · UTC 16:44 · PVG 00:44 · LAX 08:44 · JFK 11:44
♥ Do have faith in what you're doing.