mirror of
https://github.com/LeCoupa/awesome-cheatsheets.git
synced 2026-05-10 08:20:05 -07:00
Compare commits
5 Commits
47477bf81b
...
3f6966d631
| Author | SHA1 | Date | |
|---|---|---|---|
| 3f6966d631 | |||
| 2aee46f169 | |||
| 22977d5ca1 | |||
| a2c99c9674 | |||
| 58f626bb22 |
Vendored
+2
-1
@@ -136,7 +136,8 @@ class Component extends React.Component {
|
||||
|
||||
// Invoked immediately after updating occurs. This method is not called for the initial render.
|
||||
// Use this as an opportunity to operate on the DOM when the component has been updated.
|
||||
// This is also a good place to do network requests as long as you compare the current props to previous props (e.g. a network request may not be necessary if the props have not changed).
|
||||
// This is also a good place to do network requests as long as you compare the current props to
|
||||
// previous props (e.g. a network request may not be necessary if the props have not changed).
|
||||
componentDidUpdate(prevProps, prevState) { }
|
||||
|
||||
// Invoked immediately before a component is unmounted and destroyed.
|
||||
|
||||
+1
-1
@@ -286,7 +286,7 @@ for(dataType item : array) {
|
||||
|
||||
### ACCESS MODIFIERS
|
||||
|
||||
1. defualt(No keyword required)
|
||||
1. default(No keyword required)
|
||||
2. private
|
||||
3. public
|
||||
4. protected
|
||||
|
||||
Reference in New Issue
Block a user