Panorix logo Panorix
使用场景

长邮件、聊不完的 AI 对话、一直延展的文章

Gmail 邮件、Claude / ChatGPT 对话、Medium 文章、Notion 页面, 聊再久, 也能全部截下来。

panorix.app/preview · React fundamentals
React fundamentals
6 messages
U
How does React decide when to re-render a component?
A
React re-renders a component when its state or props change. The reconciler diffs the previous virtual DOM tree against the new one, and only the changed nodes get updated in the actual DOM. Pure components and React.memo can short-circuit this when nothing meaningful changed.
U
What about useMemo for expensive computations?
A
useMemo caches the result of a computation across renders, recomputing only when its dependency array changes. Use it when the computation is genuinely expensive — for cheap calculations, the bookkeeping overhead can outweigh the savings.
U
When should I use useCallback vs useMemo?
A
useCallback memoizes a function reference; useMemo memoizes any value (including computed results). In practice, useCallback is just useMemo for functions. Reach for them when you're passing the value to a memoized child or when stable identity matters for an effect dependency.
Ask a follow-up…

懂懒加载

现代应用常常边浏览边加载内容, Panorix 等每段加载完再截 —— 拼出来不会有空白行。

粘性头尾只出现一次

聊天输入框、固定头部能被认出来, 只在截图最顶部出现一次, 不会每屏都重复。

内置 AI Reading 导出

强烈建议长聊天截图用上: 切片打包成 ZIP, 扔给 ChatGPT 或 Claude, 这次 AI 真能把整段对话读完。

截下聊不完的对话

长邮件、AI 对话: 用 AI Reading 导出, LLM 也能读得动。