use_context
value can get lost when rendering a list of components
#785
Unanswered
Archmonger
asked this question in
Problem
Replies: 1 comment 1 reply
-
This could also be due to conditional rendering (two return statements, one component). I won't be available from the 13th to 20th of this month. Let me know if you have time before the 13th for me to demo. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The title is fairly self-explanatory, but I haven't confirmed that's the exact cause. All I know is that I'm getting
None
when attempting to useuse_context
(viadjango_idom.hooks.use_websocket
) for my list of sidebar tabs.I think we should have a quick tag up for me to demo this issue. Since IDOM doesn't give a useful stack trace on exceptions like this, I'll need to walk you through the stack as well.
Let me know what your availability is.
Beta Was this translation helpful? Give feedback.
All reactions