xiaohongshu
xiaohongshu
jsgui3-ssr-activation-data-bridge
Understand and debug how jsgui3 SSR markup becomes activated client-side, including persisted fields (data-jsgui-fields) and ctrl_fields (data-jsgui-ctrl-fields), and where to patch/plugin.
Full skill instructions
pre_activate) → event binding (activate).data-jsgui-fields → persisted fields hydration (_persisted_fields)data-jsgui-ctrl-fields → named child control wiring (this.status, this.btn, …)context.map_Controls registrations&&& no corresponding control)Non-goals:
jsgui3-* packages without a minimal repro + regression guard.node src/ui/lab/experiments/020-jsgui3-server-activation/check.jsdata-jsgui-id (identity)data-jsgui-type (constructor key; may be absent for exempt tags)data-jsgui-fields (persisted fields payload)data-jsgui-ctrl-fields (named child ids payload)jsgui3-client) does:
Client_Page_Contextpre_activate(context) (reconstruct controls from DOM)activate(context) (call ctrl.activate() depth-first)jsgui3-html reads data-jsgui-fields from the DOM element and stores it as _persisted_fields._persisted_fields in activate() to restore state.pre_activate_content_controls, jsgui3-html parses data-jsgui-ctrl-fields (key→id) and binds:
this[key] = context.map_controls[id]this.btn.on('click', ...) or this.status.dom.el.textContent = ....Missing context.map_Controls for type <X>
<X>, but the client context doesn’t have a constructor registered at context.map_Controls[X].Control, so activation may still work (but you lose the intended class).Missing context.map_Controls for type undefined
data-jsgui-type is intentionally not emitted (notably html/head/body in upstream control-core).&&& no corresponding control
content._arr.pre_activate logger to skip warning output for exempt tag names (HTML, HEAD, BODY) when type is missing.context.map_Controls for common tags (safe)style, main, etc. don’t warn.pre_activate_content_controls robust to whitespace text nodes (medium risk)nodeType === 3 and nodeValue.trim() === '' during the alignment walk.node src/ui/lab/experiments/020-jsgui3-server-activation/check.jsnpm run ui:client-buildsrc/ui/lab/experiments/020-jsgui3-server-activation/docs/guides/JSGUI3_UI_ARCHITECTURE_GUIDE.md (Client-Side Activation Flow)node_modules/jsgui3-client/client.jsnode_modules/jsgui3-html/html-core/html-core.jsnode_modules/jsgui3-html/html-core/control-enh.jsnode_modules/jsgui3-html/html-core/control-core.jsxiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience