Download for Windows Premium
Publiciteit
TemperatureInput

Vertaling van "TemperatureInput" in Engels

We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
TemperatureInput
D'abord, remplaçons this.state.température par this.props.température dans le composant TemperatureInput.
First, we will replace this.state.temperature with this.props.temperature in the TemperatureInput component.
Comme les props des deux composants TemperatureInput viennent du même composant parent Calculator, les deux champs seront toujours synchronisés.
Since the props of both TemperatureInput components are coming from the same parent Calculator component, the two inputs will always be in sync.
Le composant Calculator n'a pas accès à la température saisie, car elle est cachée dans le TemperatureInput.
The Calculator doesn't know the current temperature because it is hidden inside the TemperatureInput. Writing Conversion Functions
Avant de modifier le composant Calculator, récapitulons les modifications apportées au composant TemperatureInput.
Before diving into the changes in the Calculator, let's recap our changes to the TemperatureInput component.
Nous allons supprimer l'état local de TemperatureInput et le déplacer dans le composant Calculator.
We will remove the local state from the TemperatureInput and move it into the Calculator instead.
Quand la température était dans l'état local, le composant TemperatureInput pouvait simplement appeler this.setState() pour la changer.
When the temperature was in the local state, the TemperatureInput could just call this.setState() to change it.
On peut commencer par extraire un composant TemperatureInput du code de Calculator.
We can start by extracting a TemperatureInput component from Calculator.
Er zijn geen resultaten gevonden voor deze term.
Ga naar Premium voor toegang tot miljoenen vertaalvoorbeelden, onbeperkt woorden opslaan en leren, zonder advertenties.

Synoniemen voor TemperatureInput in het Frans

Publiciteit

Resultaten: 7. Exact: 7. Verstreken tijd: 45 ms.