Closed eyupatis closed 1 year ago
Last time I did this, you said it was bad: https://github.com/instrumentl/rails-cloudflare-turnstile/pull/1#discussion_r1064369474
was that reference wrong?
I didn't know that async
takes precedence over defer
and I just learned that from https://stackoverflow.com/a/55389033/1554894. Knowing that I want to change this helper method to take arguments and make them configurable.
According to the official documentation, it is suggested to use
defer
combined withasync
. In this PR, we are introducing the suggested behavior.