small medium large xlarge

Test-Driven React, in print, plus June PragPub

June 05, 2019

The whole may be greater than the sum of its parts, but when it comes to software development, it's the parts that are often worth paying the most attention to. Problems that seem insurmountable when viewed as a whole become manageable when broken down into smaller steps. That's one benefit of test-driven development, which leads to shorter feedback loops. Trevor Burnham's Test-Driven React gives you the info you need on using TDD with React.

Small steps also feature in this month's PragPub magazine, but at the quantum level. Find out what's going on in quantum computing lately.

Check them both out today!

Test-Driven React: Find Problems Early, Fix Them Quickly, Code with Confidence

React has revolutionized web development by abstracting away the details of DOM manipulation. That conceptual elegance has opened the door to a new generation of web testing: clear, expressive, and lightning fast. That makes React a perfect fit for test-driven development (TDD), a methodology in which tests are a blueprint instead of an afterthought.

Each chapter will present new projects to challenge you and new tools to help you. Write fast, portable tests with Jest. Keep your code tidy with ESLint and Prettier. Perform every task you need from a single window with VS Code. See your test output directly in your code with Wallaby. Use the JavaScript features of the future with Babel. Make assertions about React component behavior with Enzyme. And style components in a testable way with styled-components. By understanding every piece of your project's stack, you'll feel more confident and able to focus on what matters: writing reliable and maintainable code.

Discover a more joyful React development experience. Let your tests lead the way!

Now available from pragprog.com/book/tbreact.

June PragPub Magazine

It’s the little things.

It’s the little things that can trip you up. It’s the little things that can take the most effort to understand. Little things like Boolean switches. Little things like qubits. The June issue of PragPub takes a close-up look at some little things.

Jack Woehr asks the rhetorical question, “Is quantum computing alive or dead?” It must be rhetorical, because he answers it unequivocally “It’s alive!” Alive, important, and surprisingly accessible. Jack’s an unapologetic proponent of quantum computing and thinks you should know all about it. He delivers a brief and entertaining tutorial in this issue and points you to the resources where you can get your hands on some real(?) quantum qubits.

Jens Bendig also focuses on little things, but his focus is much more mundane. What could be more mundane than Boolean switches? And what could be more annoying? They can mess up your design, create unnecessary work, and generally make a nuisance of themselves. They can be a major annoyance for such simple little things. Jens explains the problem and presents his solution.

Mark Kilby and Johanna Rothman have been writing recently in these pages about geographically distributed agile teams and the special challenges they face. This month they point out some hidden opportunities such teams have, opportunities to improve communication and team cohesion, if you just know where — and how — to look.

Russ Olsen has had to make some decisions in his career with less than perfect information. He’s reflected on what he learned from the experience, and shares it this month in his column on making decisions in the face of inadequate information.

Marcus Blankenship is also in a reflective mood this month, recalling an experience when his model of how the world worked was shaken. The lesson he learned was all about mental models: what they are, how they help us understand the world, and what happens when they turn out to be wrong.

And of course Antonio Cangiano has all the new tech books, we have a Pragmatic Bookshelf excerpt, and there’s a puzzle! We hope you enjoy this June PragPub.

Upcoming Author Appearances

  • 2019-06-06 Jeff Langr, Agile + DevOps West 2019, Las Vegas, US
  • 2019-06-06 Jon Reid, AltConf, San Jose, California, USA
  • 2019-06-25 Kevin Hoffman, KubeCon / CloudNative Con Shanghai
  • 2019-07-15 Kevin Hoffman, OSCon 2019 – Portland, OR
  • 2019-07-16 Johanna Rothman, Uberconf
  • 2019-07-18 Chris Strom, OSCON
  • Did You Know?

    Please note our ebooks do not contain any Digital Restrictions Management and have always been DRM-free. For us, "DRM-free" means "freedom." You should own the books you've paid for and read them on whatever device is handy—your laptop, iThingy, BlueBerry, you name it. We think ideas should outlast any device you put them on.

    And you can always come back and redownload your books when needed, using your account on pragprog.com. We're here to make your life easier.

    Don't Get Left Out

    Are your friends jealous that you get these spiffy email newsletters and they don't? Clue them in that all they need to do is create an account on pragprog.com (email address and password is all it takes) and select the checkbox to receive newsletters.

    Are you following us on Twitter and/or Facebook? Here's where you can find us and keep up with the latest news and commentary, and occasional discounts:

    Tell your friends! Tweet this

    Follow us on Twitter: @pragprog, @pragpub, Andy Hunt @PragmaticAndy.

    Coming Soon:

    • Build Chatbot Interactions: Responsive, Intuitive Interfaces with Ruby, in print
    • Technical Blogging, Second Edition, in print
    • Web Development with Clojure, Third Edition, in beta
    • Practical Microservices, in beta

    Recently Released:

    Thanks for your continued support,

    Andy Hunt Publisher, Pragmatic Bookshelf

    Books • eBooks • PragPub Magazine • Audiobooks and Screencasts
    PragProg.com