You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently, it is possible to create a reference for DOM elements, but not for values. This would be great if one would like to create a reference to a value that does not involve a re-render when changed, like storing the state of an AbortController for cancelling a request, for instance.
Describe the solution you'd like
Update the createDOMReference function to be more general-purposed, or create another function createReference.
Describe alternatives you've considered
Create global variables.
Additional context
This would introduce a breaking change, depend ending on the form that gets adopted when implementing this in the source-code.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Currently, it is possible to create a reference for DOM elements, but not for values. This would be great if one would like to create a reference to a value that does not involve a re-render when changed, like storing the state of an
AbortController
for cancelling a request, for instance.Describe the solution you'd like
Update the
createDOMReference
function to be more general-purposed, or create another functioncreateReference
.Describe alternatives you've considered
Create global variables.
Additional context
This would introduce a breaking change, depend ending on the form that gets adopted when implementing this in the source-code.
The text was updated successfully, but these errors were encountered: