Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue loading pages in firefox #9558

Open
pgarratt opened this issue Jan 10, 2025 · 3 comments
Open

Issue loading pages in firefox #9558

pgarratt opened this issue Jan 10, 2025 · 3 comments

Comments

@pgarratt
Copy link

When running twenty in firefox (currently version 134) the pages in twenty don't load, they seem to be rendering, but eventually just go to a blank page. In the error log are several messages below. If I refresh the page enough times I can get a page to load, but if I try to navigate anywhere it throws the same error again.
The same page in chome does not have the problem, it seems to work correctly, However on both browsers I am getting an ValidateDOMNesting warning message which I will exclude as it is common and possibly unrelated.

Let me know if you need any further info.

Firefox.Issue.in.Twenty.2025-01-10.14-48-14.mp4

See the video for a demonstration

error messages:
Uncaught Error: Snapshot has already been released.
err index.js:16
retain index.js:3820
useRecoilSnapshot index.js:5774
useRecoilSync index.js:356
RecoilURLSync index.js:2156
React 11
workLoop scheduler.development.js:266
flushWork scheduler.development.js:239
performWorkUntilDeadline scheduler.development.js:533
js scheduler.development.js:571
js scheduler.development.js:633
__require2 chunk-LK32TJAX.js:18
js index.js:6
__require2 chunk-LK32TJAX.js:18
React 2
__require2 chunk-LK32TJAX.js:18
js React
__require2 chunk-LK32TJAX.js:18
js React
__require2 chunk-LK32TJAX.js:18
react-dom_client.js:39
index.js:16:16

Uncaught Error: Snapshot has already been released.
err index.js:16
retain index.js:3820
useRecoilSnapshot index.js:5774
useRecoilSync index.js:356
RecoilURLSync index.js:2156
React 12
workLoop scheduler.development.js:266
flushWork scheduler.development.js:239
performWorkUntilDeadline scheduler.development.js:533
js scheduler.development.js:571
js scheduler.development.js:633
__require2 chunk-LK32TJAX.js:18
js index.js:6
__require2 chunk-LK32TJAX.js:18
React 2
__require2 chunk-LK32TJAX.js:18
js React
__require2 chunk-LK32TJAX.js:18
js React
__require2 chunk-LK32TJAX.js:18
react-dom_client.js:39
index.js:16:16

The above error occurred in the component:

RecoilURLSync@http://apple.localhost:3001/@fs/home/dev2/twenty/node_modules/.vite/packages/twenty-front/deps/recoil-sync.js?v=df07c325:4831:23
RecoilURLSyncJSON@http://apple.localhost:3001/@fs/home/dev2/twenty/node_modules/.vite/packages/twenty-front/deps/recoil-sync.js?v=df07c325:4955:7
RecoilRoot_INTERNAL@http://apple.localhost:3001/@fs/home/dev2/twenty/node_modules/.vite/packages/twenty-front/deps/chunk-L5UCSPRO.js?v=df07c325:2793:29
RecoilRoot@http://apple.localhost:3001/@fs/home/dev2/twenty/node_modules/.vite/packages/twenty-front/deps/chunk-L5UCSPRO.js?v=df07c325:2914:7
App

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries. suppress-nextjs-warning.ts:7:20
error suppress-nextjs-warning.ts:7
React 12
workLoop scheduler.development.js:266
flushWork scheduler.development.js:239
performWorkUntilDeadline scheduler.development.js:533
(Async: EventHandlerNonNull)
js scheduler.development.js:571
js scheduler.development.js:633
__require2 chunk-LK32TJAX.js:18
js index.js:6
__require2 chunk-LK32TJAX.js:18
React 2
__require2 chunk-LK32TJAX.js:18
js React
__require2 chunk-LK32TJAX.js:18
js React
__require2 chunk-LK32TJAX.js:18
react-dom_client.js:39

Uncaught Error: Snapshot has already been released.
err index.js:16
retain index.js:3820
useRecoilSnapshot index.js:5774
useRecoilSync index.js:356
RecoilURLSync index.js:2156
React 9
workLoop scheduler.development.js:266
flushWork scheduler.development.js:239
performWorkUntilDeadline scheduler.development.js:533
js scheduler.development.js:571
js scheduler.development.js:633
__require2 chunk-LK32TJAX.js:18
js index.js:6
__require2 chunk-LK32TJAX.js:18
React 2
__require2 chunk-LK32TJAX.js:18
js React
__require2 chunk-LK32TJAX.js:18
js React
__require2 chunk-LK32TJAX.js:18
react-dom_client.js:39
index.js:16:16

@BOHEUS
Copy link
Contributor

BOHEUS commented Jan 11, 2025

@FelixMalfait
Copy link
Member

FelixMalfait commented Jan 11, 2025

#9497 (comment)

Maybe we should remove recoilSync :-/ - facebookexperimental/Recoil#1888

I believe this will only happen in dev mode

facebookexperimental/Recoil#1936 (comment)

@rmsilva1973
Copy link

I think I opened a duplicate issue on #9654 didn't I?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

4 participants