skills/smithery.ai/gpui-troubleshooting

gpui-troubleshooting

Installation
SKILL.md

GPUI Troubleshooting

This skill covers common errors and solutions when developing with GPUI.

Borrow Checker Errors

Multiple Borrow Error

Error: Cannot borrow cx as mutable more than once

Solution: Use the inner cx provided to closures, not the outer one

// ❌ WRONG
entity.update(cx, |view, inner_cx| {
    view.count += 1;
    cx.notify(); // Using outer cx - ERROR!
});
Installs
1
First Seen
Apr 7, 2026
gpui-troubleshooting from smithery.ai