Building UI Components Correctly

11 points | by vishnukvmd 3 days ago

2 comments

  • vivzkestrel 3 days ago

    i would love to see a sveltekit/svelte version of this article and yes i read the disclaimer "The examples use React, but the principles are universal and apply to component libraries built in Vue, Svelte, Angular, or any other framework. " I would love to see a breakdown of login, signup, forgot and reset password forms. They only look simple on the surface but are actually complicated. What happens when social login fails? What happens when user captcha times out vs captcha expires. Lots of questions but nobody ever covers these