luc-github / ESP3D-WEBUI

A Web UI for ESP8266 or ESP32 based boards connected to 3D printers / CNC
GNU General Public License v3.0
762 stars 305 forks source link

[BUG] Loop with interface tab and issue with router #181

Closed luc-github closed 3 years ago

luc-github commented 3 years ago

@alxblob I have 2 super weird bugs and not sure how to debug them, do you have any idea ? Dead loop refresh when no refresh is actually requested bug1

if I comment const { getInterfaceSettings } = useSettings(); the dead loop do not happen so I do not get why ????

Another issue, may be the root cause of previous one: Depending on where you click on menu the onClick always catch the click event but sometimes it is not catched by <A tag
bug2

Any Preact guru feedback is also welcome - I do not know how to debug this 😓

luc-github commented 3 years ago

ok I have fried my brain but I have found the root cause - I just do not understand the relation with decalaration and the trigger it should actually always happen ...

github-actions[bot] commented 3 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.