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. |
||
|---|---|---|
| .. | ||
| common | ||
| flux | ||
| modules | ||
| patches | ||
| types | ||
| utils/modules | ||
| actions.ts | ||
| design.ts | ||
| native.ts | ||
| preinit.ts | ||
| start.ts | ||