One huge advantage a React login component can have over a Blaze one is ease of customization. You could structure it so that people can pass in their own custom components as props on your component, allowing them to configure the structure of the HTML, not just the CSS styling (for example, if someone wanted to use it with material-ui).
If this project goes well, I’d love to include it in the official React tutorial to avoid using Blaze just for accounts-ui.
Also, if you are looking for feature recommendations, I hear that useraccounts is really good, so it might be worth taking a look at what they have: https://atmospherejs.com/useraccounts/core
That’s a really good idea! I didn’t even think of that I was also thinking of letting them pass in a custom validator function for each input (email, user, password) as well as providing a sane default.
I’m just spitballing but perhaps have a polymorphic API that allows you to pass in elements or use the default ones… eg:
<LoginThing
type={'username-password'}
forgotPasswordText='Doh! reset password here'
confirmPassword={false} />
// or pass in your own
<LoginThing>
<input ref='email' ... />
<input ref='password' ... />
</LoginThing>
[quote="sashko, post:2, topic:7755"]
Also, if you are looking for feature recommendations, I hear that useraccounts is really good, so it might be worth taking a look at what they have
[/quote]
I can't believe I missed this package! I've searched on atmosphere several times for accounts, login, etc.. but never found this one (perhaps atmosphere needs tags too lol). It looks really good!