Passing Snippet to grandchildren #10709
Unanswered
hepiBatman
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have template module (shown below) which should be unaware of any view being fed into it: Render1, Render2, etc. The view in this case is the grandchildView which needs to be passed down to GrandChildTemplate component. I utilise context but wonder if there is a better way to do it without context or passing props all the way down?
I don't mind if it is Svelte4 or Svelte5 solution.
Beta Was this translation helpful? Give feedback.
All reactions