Replies: 1 comment
-
Reading through the code - I think a simple solution would be to override |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a project using the Universal Renderer: https://github.com/lightning-js/solid
When elements are created:
We do the initial render via createEffect to gather all the properties before passing them to the Lightning Renderer (WebGL) in a single function call. Downside of this is timing - if others use createEffect, that happens before the node is rendered - same with onMount. And createRenderEffect happens right away... Question is can we do a one time callback after all the initial setProps happen but before createEffect?
Why:
Users will have an onMount or createEffect in the component. The problem is those effects run before the createEffect in the createElement so users will get a callback that doesn't have a rendered node.
Beta Was this translation helpful? Give feedback.
All reactions