You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The query below is the one I use to retrieve all topics with the top level names (e.g: Economics), for the Flashcards main page (Known/Unknown/Starred modals):
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Learn once, write everywhere" - use the same code base to run on the Web, IOS and Android. When you learn React's principles like
composition, you can use to apply it anywhere.
When we use setState, React merge the new state into the already existing one, kicking off a process called Reconciliation.
Reconciliation is about updating the UI to reflect the state changes in the most efficient way possible. To do this, React will construct a new tree
of React elements, and "diff" against the previous element tree in order to figure out how the UI should change in response to the new state.
By doing this, and knowing exactly what changes occurred, it wil lbe able to minimize its footprint on the UI by only making updates where absolutely necessary.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters