Learn React with TypeScript 3
Reacttodayisoneofthemostpreferredchoicesforfrontenddevelopment.UsingReactwithTypeScriptenhancesdevelopmentexperienceandoffersapowerfulcombinationtodevelophighperformingwebapps.Inthisbook,you’lllearnhowtocreatewellstructuredandreusablereactcomponentsthatareeasytoreadandmaintainbyleveragingmodernwebdevelopmenttechniques.WewillstartwithlearningcoreTypeScriptprogrammingconceptsbeforemovingontobuildingreusableReactcomponents.You'lllearnhowtoensureallyourcomponentsaretype-safebyleveragingTypeScript'scapabilities,includingthelatestonProjectreferences,Tuplesinrestparameters,andmuchmore.You'llthenbeintroducedtocorefeaturesofReactsuchasReactRouter,managingstatewithReduxandapplyinglogicinlifecyclemethods.Furtheron,you'lldiscoverthelatestfeaturesofReactsuchashooksandsuspensewhichwillenableyoutocreatepowerfulfunction-basedcomponents.You'llgettogripswithGraphQLwebAPIusingApolloclienttomakeyourappmoreinteractive.Finally,you'lllearnhowtowriterobustunittestsforReactcomponentsusingJest.Bytheendofthebook,you'llbewellversedwithallyouneedtodevelopfullyfeaturedwebappswithReactandTypeScript.
·8.6萬字