revenge-bundle-next/lib/discord
PalmDevs 217617a663
fix(plugin/settings): remount instead of recomputing SettingHookHarness memos
Recomputing causes a React crash because the harness calls additional hooks for every setting.
When we add/remove setting items, hooks are not called the same amount.

React expects the same amount of hooks to be called after each render, so this breaks adding settings items while in Settings.
We can remount it instead to avoid this crash.
2026-07-31 03:26:04 +07:00
..
src fix(plugin/settings): remount instead of recomputing SettingHookHarness memos 2026-07-31 03:26:04 +07:00
package.json fix(lib/plugins/apis): set most APIs during pre-init phase 2026-04-07 22:03:13 +07:00