The previous fix listened for a documented-but-wrong event name (group.profile.updated); live instrumentation of a real rename showed the actual wire event is group.settings.updated. Fixing only the name still didn't work: the refresh mechanism it triggered (getMeta(startMetaQuery().withDesc().build())) was itself unreliable against this backend -- live-confirmed to either time out (504) on a brand-new topic or return stale pre-rename data on an established one, which also explains the "second rename flips back to the original name" symptom (a late, stale response from an earlier call clobbering the correct value). Replace it with the already-reliable REST getGroup() response applied locally via the SDK's own _processMetaDesc (same internal method the SDK calls when a real meta response arrives; confirmed to reach me.contacts(), which the sidebar/header read). Also fixes a second, independently-discovered bug found while verifying the above: notifyTopic's requestAnimationFrame-based notification batching could get permanently stuck if the callback was scheduled while the page wasn't compositing frames, silently freezing all future topic-list updates (not just renames) until a full reload. Falls back to setTimeout when the document is hidden, since that is never dropped the way the rAF was. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
React + TypeScript + Vite
This template provides a minimal setup to get React working in Vite with HMR and some Oxlint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Oxc
- @vitejs/plugin-react-swc uses SWC
React Compiler
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.
Expanding the Oxlint configuration
If you are developing a production application, we recommend enabling type-aware lint rules by installing oxlint-tsgolint and editing .oxlintrc.json:
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["react", "typescript", "oxc"],
"options": {
"typeAware": true
},
"rules": {
"react/rules-of-hooks": "error",
"react/only-export-components": ["warn", { "allowConstantExport": true }]
}
}
See the Oxlint rules documentation for the full list of rules and categories.