|
|
|
|
|
by gunn
2883 days ago
|
|
Definitely. And using these technologies, there are some cool possibilities beyond what rails is capable of. For instance if you used typescript (still allows devs to use plain JS), you could use types to check that forms send all the required params. For example, a login page might require: interface LoginParams {
username: string;
password: string;
rememberMe?: boolean;
}
Having the typescript compiler check for inconsistencies with form data would save a lot of the troubles I've seen in rails apps. |
|
https://rocket.rs/