mirror of
https://github.com/kusti8/proton-native.git
synced 2026-05-15 14:15:50 -06:00
[GH-ISSUE #163] Root: Cannot read property 'setChild' of undefined #104
Labels
No labels
bug
documentation
enhancement
libui issue
pull-request
question
wait for libui implementation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/proton-native#104
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mischnic on GitHub (Jul 6, 2018).
Original GitHub issue: https://github.com/kusti8/proton-native/issues/163
Yes, this is an uncommon situation, but needed for hot reloading. A workaround would be fine as well.
To reproduce it, paste the following code into
src/index.jsin proton-hot-boilerplate, runnpm run devand change something inHotApp's children. The error occurs only when the code insideif(module.hot.data && module.hot.data.proxy)is run, not on the first render.It also works when using
HotAppdirectly without theWrappercomponent as described in the comments: