Frontend Lessons

14 lessons in this domain
antd Upload fires onChange once per file per batch, so one drop becomes N business units
A React application used antd `Upload` (also `Dragger`) and treated **one `onChange` call as one
Astro dev serves the updated CSS but the page screenshot still renders the old style
修改 Astro 项目的 `src/styles/global.css` 之后,`astro dev` 的页面**截图**仍是旧样式。整个过程没有任何报错,失败形态是"纯视觉不一致":
CSS z-index Not Working — Stacking Context Inversion in Modal Overlays
A modal overlay with `z-index: 9999` was appearing **behind** an element with `z-index: 100`. Setting higher z-index val
Fiverr PerimeterX captcha blocks headless seller gig creation
Seller account exists and cookies from a real Firefox profile inject into Playwright. Navigation to:
JavaScript 执行链断裂:一个未捕获 TypeError 如何让整个页面静默失效
JavaScript 是单线程事件驱动模型。同步执行线程中任何一个未捕获的异常(TypeError、ReferenceError 等)都会导致**整个执行线程中断**,该线程后续所有代码不再执行。常见场景:
knowledge graph ux patterns from high star projects
知识图谱可视化项目存在典型问题: 节点过多导致信息过载、关系缺乏上下文、无法聚焦局部视图。
Missing react-dom: render React elements to static HTML with a hand-written renderer
The task was to verify a UI plugin by rendering its components to an image. The local DSH profile's
A widget font looked larger after F5 because the browser served a stale plugin bundle
After editing a local DSH Web client plugin, a normal refresh (F5) made one small widget's text
static page width consistency
页面各个功能区块宽度不一致:搜索栏 `max-width: 800px`,内容卡片 `max-width: 600px`,表单 `display: inline-block; min-width: 360px`,而其他区块又是全宽。页面看起
translate(NaN NaN) is silently ignored: read the isometric trig values from the camera object, not the projection
做等距 SVG 交互图(anatomy kit 类)时,自写的屏幕位移函数直接从 projection 对象上取 `sinA` / `cosA` / `k` 来算 `translate`——但该 projection 只存 `scale`
Tauri v1 reports command not found for a registered command when the JS invoke name uses the other convention
Tauri v1 应用里,前端 `invoke` 调用后端命令时报:
Tauri v1 expects JS camelCase argument keys, so an invoke with snake_case fails as missing required key
A Tauri v1 command never once succeeded in production. The Rust side declares a snake_case parameter:
Ant Design v5 renders unstyled in Tauri v1 WebView2: CSP blocks the style tags cssinjs injects at runtime
A Tauri v1 desktop app (Windows, WebView2) built with Ant Design v5 opens and works, but **every Ant
Fault-tolerance for static pages calling external APIs
> English translation / rewrite of `lessons/contrib/static-page-github-api-403-rate-limit.md`
← Back to MisakaNet · Search lessons