7 ms·
And yet somehow the Zed team managed to do it with gpui and rust.
by simplesocieties 10mo ago
And yet somehow the Zed team managed to do it with gpui and rust.
- seanalltogether 10mo agohttps://github.com/zed-industries/zed/blob/main/crates/gpui/examples/input.rs https://github.com/zed-industries/zed/blob/main/crates/gpui/... GPUI is a great example of the insane amount of boilerplate needed to create a component when you don't have inheritance. My guess is that people don't create a lot of individual components in this framework to handle different business cases, and instead overload a single text input component with a million different options. I would hate to untangle a mature app written under those conditions.