xtablo-source/apps/main/src
Arthur Belleville 949888ec63
fix: resolve insertBefore DOM reconciliation error in React 19
UserStoreProvider was switching between three different return structures
(LoadingSpinner / children directly / Context.Provider wrapping children),
causing full fiber tree restructures in React 19 concurrent mode. When
batched with other state updates (e.g. UpgradeBlockContext loading),
React called insertBefore with a reference node already detached from
the DOM.

- Always render UserStoreContext.Provider so tree structure is stable;
  spinner vs children toggle happens inside it
- Use useRef to hold a stable Zustand store (update via setState instead
  of recreating on every render)
- Move inline <style> from App.tsx JSX into main.css to avoid React 19
  style-tag edge cases with conditional sibling rendering

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 23:07:47 +02:00
..
assets Huge bump with turborepo 2025-10-23 11:54:45 +02:00
components Block app access until organizations add a paid plan 2026-03-24 21:41:38 +01:00
contexts Block app access until organizations add a paid plan 2026-03-24 21:41:38 +01:00
hooks Block app access until organizations add a paid plan 2026-03-24 21:41:38 +01:00
lib Retry signup tests with Stripe CLI 2026-03-15 19:09:35 +01:00
locales Fix organization modal flows 2026-03-08 22:44:02 +01:00
pages Update founder signup copy to highlight unlimited features 2026-03-24 20:58:49 +01:00
providers fix: resolve insertBefore DOM reconciliation error in React 19 2026-03-30 23:07:47 +02:00
utils Fix CircleCI docker node pull 2026-03-08 21:28:44 +01:00
App.tsx fix: resolve insertBefore DOM reconciliation error in React 19 2026-03-30 23:07:47 +02:00
i18n.test.ts Ship ship ship the new features (tasks, etapes, notifs) 2025-11-22 17:22:57 +01:00
i18n.ts Onboarding + freemium 2025-12-01 19:34:30 +01:00
main.css fix: resolve insertBefore DOM reconciliation error in React 19 2026-03-30 23:07:47 +02:00
main.tsx Improve Datadog Rum 2025-10-30 18:23:24 +01:00
setupTests.ts Fix tests 2025-10-28 22:23:50 +01:00
vite-env.d.ts Huge bump with turborepo 2025-10-23 11:54:45 +02:00