Almanca » İngilizce

props“ kelimesinin çevirisi Almanca » İngilizce sözlüğünde (İngilizce » Almanca e atla)

İnternetten örnekler (PONS yazı işleri tarafından onaylanmamıştır)

3 } der Server-Komponente mitgegeben, in Zeile 12 dem Client.

Die props können auch in ein getrenntes script-Tag:

<script id="props" type="application/json"> {{{ theProps }}} </script> <script> var props = JSON.parse(document.getElem...

devangelist.de

In line 12 it is passed on to the client.

The propos can also be placed in a separate script tag:

<script id="props" type="application/json"> {{{ theProps }}} </script> <script> var props = JSON.parse(document.getElem...

devangelist.de

Controller Views :

React Komponenten welche sich den state von den Stores holen und diesen als props den child-Komponenten weiterreichen.

Der Unterschied zu klassischen Patterns wie MVC (Model View Controller) ist liegt im Datenfluss.

devangelist.de

Controller Views :

React components that call states from the stores and pass them on to child-components as props.

The difference to classic patterns like MVC (Model view controller) is the data flow.

devangelist.de

Innerhalb dieses Aufrufs steckt aber noch ein bisschen Magie :

Wird die Komponente mit denselben props wie auf dem Server aufgerufen, so rendert sich diese nicht neu.

React erkennt also, dass sich der DOM nicht geändert hat, sich aber in Zukunft ändern könnte und führt alle nötigen Schritte aus, um auch die Events zu binden.

devangelist.de

This example contains a bit of magic :

If the component is loaded with the same props as on the server it does not re-render.

React recognizes that the DOM has not changed, but could change in the future and performs all necessary steps for binding the events.

devangelist.de

Bir kelime, bir kelime grubu veya bir çeviri mi eklemek istiyorsunuz?

Bize yeni bir kelime gönderebilir.

Sayfayı aç Deutsch | Български | Ελληνικά | English | Español | Français | Italiano | Polski | Português | Русский | Slovenščina | Srpski | Türkçe | 中文