Bringing UI Testing_Into_Continuous_Integration_LP

Ebook:

Generating PDF in React the Easy Way

How can you generate a PDF file from your React app? How can you offer users the flexibility of exporting a full page, a section of a page or a single UI component, for example, a table?

Developers can choose among several approaches to address this challenge. Most available options require them to code multiple steps to go from content on the page to a formatted PDF file.. Just like in the children’s game of telephone, each step in the chain can introduce “transmission noise” and affect the final outcome—in this case, the exported file—in ways you may not expect.

Download this e-book to learn an easy and straightforward solution for exporting from React to PDF through a single method call, all on the client side, by including a single npm package.

This comprehensive resource will cover:

  • An example of exporting basic HTML and CSS to PDF
  • Generating a PDF file from an invoice built with HTML and CSS
  • Creating a PDF file from React Table and TreeList components

This e-book includes additional resources that will help you along the way, including:

  • Code samples and runnable StackBlitz demos
  • Links to accompanying video tutorials
  • Tips and tricks on making the most of a complete UI library like KendoReact. Did you know some components come with their own advanced PDF export logic?

After reading this eBook, you will be well on your way to becoming an authority on how to easily turn React HTML to PDF!

Author


Carl Bergenhem

Jim Holmes

Position, Company

Carl Bergenhem has served as the Product Manager for Kendo UI. Throughout his time at Telerik/Progress he covered the entire portfolio of products offered, but mainly spent his time in the web development arena covering ASP.NET Ajax, ASP.NET MVC, and JavaScript-based products. He’s passionate about web technologies and tries to stay on top of all JavaScript libraries and frameworks relating to Kendo UI, developing with jQuery, Angular, React, and Vue.js on a regular basis. In his free time Carl enjoys slaying virtual monsters, snowboarding and playing his guitar.

Download the Ebook