CodeHubOrg / codehub-mentorships

CodeHub Mentorship platform - built with Laravel and React
3 stars 0 forks source link

add form, textinput and sample form components #19

Closed katjad closed 4 years ago

katjad commented 4 years ago

Mini form with just text input field can be seen at http://localhost/admin - submitting logs input to console screenshot_6

AlisonYoon commented 4 years ago

great!

fourstacks commented 4 years ago

Looks good @katjad!

We might have to give some thought as to approach we take to authoring React components - whether to use class-based components or hook-based components. Personally I'd opt for hook-based as that's what the React core team are pushing these days but more than anything else it will help for consistency in the project if we stick to one convention.

Either way - let's merge this in for now - we can always revisit it later.