`onMount` not called / Component not rendered?
I seriously do not know why this doesnt work:
as seen in the
onMount
line, im expecting a onMount Triggered
message on my browser devtools but i seemingly get nothing. which leads me to the conclusion that my component isnt being rendered. this is backed up by the fact that the title hasnt changed
any reasons as to how this happens? Im at my wit's end trying to understand why to no avail1 Reply
not quite sure how to respond but I just have it as the i did notice that the loading time did take a little bit longer. not by a lot but enough for me to notice at a glance edit: could just be me tbh. restarting the dev server does nothing against remedying this problem (
/about
route in my app
well originally (calling foreign c function https://discord.com/channels/722131463138705510/1287021199003750500/1287021199003750500), it only appears when i reload the page and not when i click into the about page. now it does not show up
absolutely nothing in both the browser console and the terminal
Here's what I found today:
This works:
Rendered from browser:
This also works:
From the terminal:
However switching the getBackendVersion
function to fetch the actual version instead of a hardcoded string doesnt:
ctrl + c
and then bun dev
right after)
After this (also tried restarting dev server) the part where getBackendVersion
returns a harcoded string also doesnt render
reverting everything to the control makes the component render again