Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

canUseDOM always "true" #43

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

canUseDOM always "true" #43

wants to merge 1 commit into from

Conversation

dartess
Copy link

@dartess dartess commented Dec 21, 2023

because it function, but used like boolean

@WilliamPriorielloGarda
Copy link

WilliamPriorielloGarda commented Mar 14, 2024

I'll have to defer to the owner of the repo.

In my view, it would probably be safer to simply call the function everywhere it is used instead of immediately invoking it at the top.

@dartess
Copy link
Author

dartess commented Mar 23, 2024

I don't understand how this would be safer. sounds like unnecessary calls - the result of the call in real conditions will always be the same.
In any case, my job is only to suggest changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants