Skip to content

Strategy for making this composible for es6? #4

@ericdfields

Description

@ericdfields

Mixins are going away eventually. Would the right way to use this for ES6 be to make it some sort of higher-order component? Something like:

class FormDataComponent extends React.Component

And then I'd do

class MyComponent extends FormDataComponent

I took a quick stab at this following a pattern I found here, but was short on time and didn't get very far.

Before I go further, I'd like to know if you have a different idea on how else to bring the formdata concept into ES6 React. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions