As many around the world, we decided to shift to work remotely for the next couple of weeks. In the following we would like to share our approach and experiences we made in the first couple of days.
Programmatically generating PDF documents is a common requirement in many of our client projects at bitcrowd. While in Ruby there is a multitude of battle-proven libraries to choose from, the PDF library landscape in the Elixir/Erlang ecosystem is just beginning to evolve. Today, we introduce ChromicPDF, a fast and convenient Chrome-based HTML-to-PDF converter, written in Elixir.
Phoenix LiveView allows for JavaScript Hooks to extend live view pages with small powerful bits of JavaScript. This post showcases how one can test these hooks with the power of Jest.