In this blog post, we build a sample invoice in our React app using HTML and CSS and then generate a PDF file based on this content. Additionally we control the generated page size exclusively through CSS.
Let’s discuss how to build robust UI components! We’ll start with a discussion of when to code components by hand, and when to build on top of third-party libraries. Next, we’ll set up a unit testing structure for your components and write a few tests with it. And finally, we’ll wrap up showing a few options you have for writing documentation for your components.
Before shipping a React app, the least any team or developer needs to do is to check the performance and look to optimize the app for the end user’s experience.
Memory leaks can cause an application to run slow or even crash. They can be created by accident, by not cleaning up after yourself. Find out how to clean up event listeners in the two very popular JavaScript frameworks Vue and React.