Posts by Lucas Silveira • 22 points
2 posts
-
0
votes1
answer32
viewsA: Passing method with parameter
In the component you can pass the function as an HTML attribute: <Formulario atualizarCadastro={atualizarCadastro} /> In the child component, you access the function through the argument…
-
-1
votes1
answer33
viewsA: DDD - Modify more than one Aggregate in the same transaction
First of all it is important that you define the order in which events occur. Should the transfer start before the reservation? Shouldn’t there be a vacancy check before? That said, in my view,…