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
The component API could use mount and unmount, via on-load.
Is initialState() ok? Or should it just be an initial constructor? That's basically what it is, so maybe I'll call it init(). Could be considered a constructor for all intents and purposes, could even set state directly instead of returning state. Could also pry include a proxy of state so that you can't mutate it directly to begin with.
The text was updated successfully, but these errors were encountered:
The component API could use mount and unmount, via on-load.
Is
initialState()
ok? Or should it just be an initial constructor? That's basically what it is, so maybe I'll call itinit()
. Could be considered a constructor for all intents and purposes, could even set state directly instead of returning state. Could also pry include a proxy of state so that you can't mutate it directly to begin with.The text was updated successfully, but these errors were encountered: