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 way to set functions on a parcel. Such as submit(), could be parcel.call.submit(). Would allow for less props to be passed into each React component, and for overriding behaviour of functions to be easily implemented. Only parcels below a setCall({fn...}) would be able to access parcel.call.fn(). Favour pure functions, this is not to be used for stateful data, and functions that are recreated with different variables through scope are questionable.
The text was updated successfully, but these errors were encountered:
A way to set functions on a parcel. Such as
submit()
, could beparcel.call.submit()
. Would allow for less props to be passed into each React component, and for overriding behaviour of functions to be easily implemented. Only parcels below asetCall({fn...})
would be able to accessparcel.call.fn()
. Favour pure functions, this is not to be used for stateful data, and functions that are recreated with different variables through scope are questionable.The text was updated successfully, but these errors were encountered: