-
-
Notifications
You must be signed in to change notification settings - Fork 202
Refactor DevRank Grid components to use dedicated classes #9008
Copy link
Copy link
Closed
Labels
Description
The current implementation of the User and Location columns in apps/devrank/view/GridContainer.mjs uses an anti-pattern where the component config function returns a raw vdom object. This leads to component.set({vdom: ...}) calls, which are problematic (stale state, ID loss).
The goal is to refactor these into dedicated component classes (UserCell, LocationCell) that manage their own VDOM updates reactively based on input configs. This will fix the stale rendering issues and align with proper Neo.mjs architectural patterns.
Tasks:
- Revert debug logs in
src/grid/column/Component.mjs. - Create
apps/devrank/view/cell/UserCell.mjs. - Create
apps/devrank/view/cell/LocationCell.mjs. - Update
apps/devrank/view/GridContainer.mjsto use these new components.
Reactions are currently unavailable