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
A [accessor, setter] pair would be useful for situations where solid components use both the accessor & setter. The atom.set() function could be setter but returning the [accessor, setter] pair is more idiomatic to Solidjs.
If we were to go this route, I propose the following types:
A
[accessor, setter]
pair would be useful for situations where solid components use both the accessor & setter. Theatom.set()
function could be setter but returning the[accessor, setter]
pair is more idiomatic to Solidjs.If we were to go this route, I propose the following types:
The text was updated successfully, but these errors were encountered: