A community member has a custom JavaScript that is executing twice, and they want to make it execute only once. The community member does not want to use a client-only setting. In the comments, another community member suggests an alternative solution, but does not provide details.
I have a custom js without client-only setting (and I want to keep it like that). but the js is executing twice. how can i make it execute only at one time