Just learning React I guess...
div pmeans p inside div (space means inside works for classes too as.first .second.first.secondmeans has classesfirstandsecondat the same time.first,.secondmeans has classfirstorsecond(works for html attribute types toodiv, p)- we can mix different types of selectors at the same time:
div .first(div and has a class first) [this works with id too]
- Default is
0 1 autowhich are flex-grow, flex-shrink, flex-basis respectively. flex-directionisrowby default (horizontal) and it can be madecolumn(vertical).justify-contentis on the main axis whilealign-itemsis on the cross axis
- Only single quotes work for embedded expressions in the output:
alert( `the result is ${1 + 2}` ); // the result is 3
alert( "the result is ${1 + 2}" ); // the result is ${1 + 2} DOESN`T WORKrafcreactArrowFunctionComponent (will create one with the name of the file) but without exportrafcewith export (use this for new files for now I guess?)imptimports propTypes
