Is there a way to mark a portion of code to 'only run once'. Similar to defonce?
defonce
Or should I increment a counter on each reload, and have a condition to run that code only when counter is zero?
Nvm, i found the part with defonce (do in the docs
defonce (do