Why maintainer of RHF (@bluebill1049) has replaced the interpolation with concatenation in source code? #12866
Answered
by
bluebill1049
evgeniyworkbel
asked this question in
General
-
I noticed that maintainer of RHF @bluebill1049 has replaced interpolation with concatenation for fieldName of useController api in this fresh PR. Why? |
Beta Was this translation helpful? Give feedback.
Answered by
bluebill1049
Jun 3, 2025
Replies: 1 comment
-
No use of string templates in the entire lib codebase to maintain consistency. The initial reason was to achieve better browser compatibility. You can also find similar code syntax not used eg optional chaining |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
evgeniyworkbel
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No use of string templates in the entire lib codebase to maintain consistency. The initial reason was to achieve better browser compatibility. You can also find similar code syntax not used eg optional chaining