Element() handle may not be on the page
The message
MARKLESS_ELEMENT_HANDLE_MAYBE_ABSENT: "<name>" is declared <declared>, which says the element is always on the page, but <problem>. Declare it <optional> and write <name>?. where you use it.
An element() handle typed without | undefined lets handlers call it without ?., which is only safe when the element renders whenever its component does.
never-bound
https://markless.dev/errors/MARKLESS_ELEMENT_HANDLE_MAYBE_ABSENTWords in angle brackets change from case to case.
Why
An element() handle typed without | undefined lets handlers call it without ?., which is only safe when the element renders whenever its component does.
Fix
never-bound
Related
Where Markless raises it
Button sounds are from Josh Comeau's Button Sounds library.