issues
search
bitovi
/
academy
Everything we know about frontend, backend, UX, and Devops consulting and management.
https://www.bitovi.com/academy/
14
stars
3
forks
source link
RN Changes 5
#798
Closed
christopherjbaker
closed
1 month ago
christopherjbaker
commented
1 month ago
Changes
Components have "props" not "properties"
Don't move tests in setup when participants are refactoring
export component props, and include
export { * }
in index when needed
no return types on internal
getStyles
functions
don't introduce State, City, or Restaurant types till Data Fetching
prefer interface over type
keep interfaces in the order introduced for better diffing
onChange then value
Switch: use onValueChange and use the value rather than just toggling
remove theme and toggle from StateList when creating Settings page
always use Screen from screens
Changes
export { * }
in index when neededgetStyles
functions