Relations not working when clicked in Drizzle Studio - React Minified Error #310

The minified error translates to: "Rendered more hooks than during the previous render." I updated drizzle kit and orm to the latest versions already. I double checked my schema, and the last thing I did was add some foreign keys and another table. But those didn't give the usual errors like I would expect to see immediately after adding. The minified error doesn't go away when removing my new code. So, I think it must some issue with drizzle kit? I have no clue and there is no useful error nor lead I can follow. I would appreciate help. Thanks! Error:
index.js:50 Error: Minified React error #310; visit https://reactjs.org/docs/error-decoder.html?invariant=310 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at eY (index.js:48:18191)
at Object.ssl [as useMemo] (index.js:48:21923)
at am.useMemo (index.js:19:6321)
at bol.useSyncExternalStoreWithSelector (index.js:66:395)
at fat (index.js:66:1227)
at i (index.js:66:1538)
at index.js:286:32621
at nVl (index.js:402:67070)
at index.js:499:4170
at Array.map (<anonymous>)
index.js:50 Error: Minified React error #310; visit https://reactjs.org/docs/error-decoder.html?invariant=310 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at eY (index.js:48:18191)
at Object.ssl [as useMemo] (index.js:48:21923)
at am.useMemo (index.js:19:6321)
at bol.useSyncExternalStoreWithSelector (index.js:66:395)
at fat (index.js:66:1227)
at i (index.js:66:1538)
at index.js:286:32621
at nVl (index.js:402:67070)
at index.js:499:4170
at Array.map (<anonymous>)
Edit: tested and also errors in safari (originally I used chrome)
7 Replies
UncleBensRice
UncleBensRice2mo ago
I am getting the same, using mysql planetscale DB Also found this related github issue from 2 days ago https://github.com/drizzle-team/drizzle-kit-mirror/issues/573
GitHub
Problem viewing related data in Drizzle Studio · Issue #573 · drizz...
I am encountering an issue while accessing related data in Drizzle ORM. Specifically, I have a user keys table that is related to a user table. When I try to view the associated data, I encounter u...
Macklin
MacklinOP2mo ago
Thank you for the link, I added my own comment. Nice to hear I'm not alone.
megamindat
megamindat2mo ago
Facing the same issue. My application is working perfectly fine (or that's what I assume), but when opened with Drizzle Studio, there's that error. Cc: @Angelelz, @Raphaël M (@rphlmr) ⚡
rphlmr ⚡
rphlmr ⚡2mo ago
👋 I have reported this thread and the GH issue to the team 🫡
⚡Z.E.U.S⚡
⚡Z.E.U.S⚡2mo ago
@Macklin @UncleBensRice @megamindat Hi! This should be fixed.
megamindat
megamindat2mo ago
That's working now. Thanks, @⚡Z.E.U.S⚡ @rphlmr ⚡
Macklin
MacklinOP2mo ago
Can confirm that it's working now! Thank you!
Want results from more Discord servers?
Add your server