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
I have not explored this concept at all so I do not have any idea on how to move this into ES6 react. But I won't resist any change that is in line with new react conventions.
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!
The text was updated successfully, but these errors were encountered: