Skip to content

Translate React.Component Reference #76

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Aug 8, 2019

Conversation

GasimGasimzada
Copy link
Collaborator

@GasimGasimzada GasimGasimzada commented Jul 30, 2019

  • Introduction
  • Overview
  • Commonly used Lifecycle Methods
    • render
    • constructor
    • componentDidMount
    • componentDidUpdate
    • componentWillUnmount
  • Rarely used Lifecycle Methods
    • shouldComponentUpdate
    • static getDerivedStateFromProps()
    • getSnapshotBeforeUpdate
  • Error Boundaries
    • static getDerivedStateFromError()
    • componentDidCatch
  • Legacy Lifecycle Methods
    • UNSAFE_componentWillMount()
    • UNSAFE_componentWillReceiveProps()
    • UNSAFE_componentWillUpdate()
  • Other APIs
    • setState()
    • forceUpdate()
  • Class Properties
    • defaultProps
    • displayName
  • Instance Properties
    • props
    • state

@netlify
Copy link

netlify bot commented Jul 30, 2019

Deploy preview for az-reactjs ready!

Built with commit a01cf5e

https://deploy-preview-76--az-reactjs.netlify.com

@GasimGasimzada GasimGasimzada changed the title Translate until constructor Translate React.Component Reference Jul 30, 2019
@azizaismayilova
Copy link
Collaborator

azizaismayilova commented Aug 7, 2019

  • Line 18 - ...kimi React-in əsas konsepsiyalar haqqında məlumatınızın olduğunu fərziyyə edir.
  • Line 42 - Hər komponentın bir neçə "lifecycle funksiyası" var.
  • Line 61 - Proplar və state-in dəyişildiyi zaman yenilənmə baş verir.
  • Line 76 - Maybe we can change the title to "Unmount Etmə" instead of "Unmount Edilmə"
  • Line 91 - Komponentlər həmçinin aşağıdakı API-ları təmin edirlər:
  • Line 126 - Uşaqları fərqli DOM ağacına render etməyə imkan verirlər.
  • Line 128 - Heç nə render etməyin.
  • Line 130 - Bu o deməkdir ki, bu funksiya komponent vəziyyətini dəyişmir,...
  • Line 166 - Bütün başqa funksiyalarda this.setState()-dən istifadə edin.
  • Line 182 - Burada problem səbəbi bunun lazımsız olduğu (siz birbaşa this.props.color istifadə edə bilərsiniz) və baqların yaratdığına görədir (color propuna edilən yeniliklər state-də görünməyəcak).
  • Line 224 - Əks halda bu sonsuz tsikla səbəb ola bilər.
  • Line 224 - Propların state-ə kopiyalanmasının niyə baqlara səbəb olacağı haqqında əlavə məlumat üçün yazını oxuyun.
  • Line 226 - ...bu funksiyanın qaytardığı dəyər...
  • Line 240 - Bu funksiyada bütün lazımi təmizləmə işlərini (məsələn, aktiv taymerləri etibarsız etmək, şəbəkə sorğularını ləğv etmək və ya componentDidMount()-da yaranmış abunələri ləğv etmək) yerinə yetirin.
  • Line 242 - heç bir zaman yenidən render edilməyəcək.
  • Line 263 - ... uşaq komponentlər yenidən render ediləcəklər.
  • Line 267 - Hal-hazırda, əgər
  • Line 277 - Render funksiyası çağrılmamışdan dərhal öncə (ilkin mount və sonrakı yeniliklər zamanı) getDerivedStateFromProps çağrıla bilər. (write sencente like this)
  • Line 279 - olduğu nadir hallarda işlənilir.
  • Line 318 - ... funksiyalarında və konstruktorlarda baş verən xətaları tutur.
  • Line 417 - Xətanı render etmək üçün
  • Line 479 - Bu ad 17-ci versiyaya kimi işləyəcək.
  • Line 483 - Nəzərə alın ki, bu funksiyada...
  • Line 511 - ...lazımsız yenidən renderlərdən qaçınmaq olar.
  • Line 537 - olan elementin miqdarını dəyişmək üçün aşağıdakı formada yazmaq olar:
  • Line 543 - Bu formalı setState() də asinxron baş verir və bir tsiklda baş verən bir neçə setState çağırışı bir dəstə ilə baş verə bilər. Məsələn, əgər siz maddə dəyərini bir tsiklda bir neçə dəfə artırsanız aşağıdakı kimi nəticə ola bilər:
  • Line 554 - Bir tsiklda bir neçə çağırış əvvəlki çağırışları ....
  • Line 576 - Adi halda, sizin...
  • Line 576 - siz React-ə komponenti yenidən render etmək üçün forceUpdate() funksiyasından istifadə edə bilərsiniz.
  • Line 580 - Adi halda siz render()-də

@GasimGasimzada GasimGasimzada merged commit b32408d into master Aug 8, 2019
@GasimGasimzada GasimGasimzada deleted the translate-reference-react-component branch October 9, 2019 10:21
@GasimGasimzada GasimGasimzada restored the translate-reference-react-component branch October 9, 2019 10:21
@GasimGasimzada GasimGasimzada deleted the translate-reference-react-component branch October 9, 2019 10:21
@tesseralis tesseralis mentioned this pull request Oct 14, 2019
99 tasks
@GasimGasimzada GasimGasimzada added this to the API Reference milestone Oct 14, 2019
@GasimGasimzada GasimGasimzada changed the title Translate React.Component Reference Translate Reference React.Component Oct 14, 2019
@GasimGasimzada GasimGasimzada changed the title Translate Reference React.Component Translate React.Component Reference Oct 14, 2019
@GasimGasimzada GasimGasimzada added the new page Translate a new page label Oct 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new page Translate a new page
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants