Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V2 - parcel.call #268

Open
dxinteractive opened this issue Jan 3, 2020 · 0 comments
Open

V2 - parcel.call #268

dxinteractive opened this issue Jan 3, 2020 · 0 comments

Comments

@dxinteractive
Copy link
Collaborator

dxinteractive commented Jan 3, 2020

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.

@dxinteractive dxinteractive changed the title V2 - sharedMeta V2 - parcel.call Apr 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant