Parameterizing HTML template tests
Testing templates for generating HTML leads to tests that are very similar. Matteo Vaccari wisely likes to separate the common elements of tests from those that vary. He continues his…
Testing templates for generating HTML leads to tests that are very similar. Matteo Vaccari wisely likes to separate the common elements of tests from those that vary. He continues his…
Juntao Qiu’s completes his set of data fetching patterns for single-page applications. Prefetching involves fetching data before it’s called for in the application flow. Although this can mean data is…
Single-Page Applications often require a lot of code to be downloaded to the browser, which can delay a page’s initial appearance. Juntao Qiu’s next pattern, Code Splitting, describes how this…
Last week I added a small feature to this website, changing the way it renders footnotes. That prompted me to write this quick note about how I use footnotes, and…
Matteo Vaccari continues his testing of template-generated HTML by describing tests for the contents of that HTML. He shows how to gradually build up the template, using Test-Driven Development in…
Juntao Qiu’s next data fetching pattern looks at how to specify fallback behavior using markup. This allows developers to pull such declarations out of the JavaScript components and into the…
When building a server-side rendered web application, it’s valuable to test the HTML that’s generated through templates. While these can be tested through end-to-end tests running in the browser, such…
The second pattern in Juntao Qiu’s series on data fetching is on how to avoid the dreaded Request Waterfall. Parallel Data Fetching queries multiple sources in parallel, so that the…