Test-Driven React 2 (Pragmatic Bookshelf)

Most Active This Week Top

Most Active This Month Top

Most Active This Year Top

fixedgigha
@TrevorBurnham Maybe I missed it, but I think you need to add @testing-library/jest-dom to the compileOptions/types in tsconfig.json, ot...
New
psantos
@TrevorBurnham On page 39, it is presented the following command to format: "format": "eslint --fix . && prettier --loglevel wa...
New
fixedgigha
@TrevorBurnham figCaption in CarouselSlide.tsx has lost its data-testid attribute, so the test fails if copied as is
New
horneber
@TrevorBurnham Text says You also added some powerful new tools to your belt, including webpack-dev-server, stylelint, and snapshots. we...
New
horneber
@TrevorBurnham Text says: $ npm install --save-dev eslint-plugin-react-hooks@6.0.1 as of time of this writing, latest released version...
New
amagnasco
Hi again! Here’s another change that would update the book for eslint ^8.25.0 (‘flat config’): On page 53, .eslintignore files were depre...
New
horneber
Then create a REACT.md project in the root of your test-driven-carousel project. This is probably meant to say create a README.md file.
New
horneber
@TrevorBurnham All three tests expect the same URL. One test does not use any button, one test moves forward, one backwards in the slide...
New
New
horneber
Text says Refactoring components into HOCs has the advantage of keeping code in manageable units, but HOC are not used anymore (in the ...
New
horneber
Text says Since the default value is numeric, try a string value but the default value implemented earlier in the chapter is a string, no...
New
horneber
@TrevorBurnham The text after ❶ claims this is the first time we wrote a type definition for a function. The ImgComponent prop used way ...
New
horneber
@TrevorBurnham const nextButton = screen.getByTestId("prev-button"); Small copy paste error, apparently.
New
New
amagnasco
Hi Trevor, I had picked up the original version of this book a while ago. I’m just now getting into several of the topics covered here, ...
New

Most Active Last Three Years Top

fixedgigha
@TrevorBurnham Example: commit message is misleading :wrench: Move tests into their own folder This commit message doesn’t relate the ...
New
amagnasco
Good evening @TrevorBurnham! Here’s a minor one. When adding the first react hook on page 74, the import statement is missing from the c...
New

Most Active Over Three Years Top

Get money off!

The Pragmatic Bookshelf

35% off any eBook

Simply use coupon code "devtalk.com" at checkout. See full details here.