|
|
|
|
|
by igornadj
105 days ago
|
|
I like the idea. I'm not sure of the usefulness at the moment. Decorating every component with `useFillHandler('Login.Email', setEmail, { hint: 'Email input' });` is the same effort/value as decorating with `data-testid="email"`. I can see myself using it if I didn't have to decorate, e.g. by having get_state return the react component tree, and then letting AI figure out which one is the "Login.email" input by itself. E.g. `<MyApp><LoginScreen><input name=email/> ...` |
|