#angular

blog

You might be hurting your SEO with a GitHub Pages SPA

In theory, GitHub Pages is a great way to host the frontend of your single-page application, built in React, Angular, or any number of similar solutions. It is fast, easy to configure, and comes with automation capabilities to build your application directly from source. While even a cursory amount of research into the topic will reveal a critical flaw and a convenient workaround solution, this solution could end up hurting your SEO in the long run. GitHub Pages Does Not Natively Support SPAs GitHub Pages lacks a direct way to rewrite incoming traffic to a single file (your index.html), a
Read More
blog

Angular Multiple Inheritance (How to Destroy a Codebase)

This is not a tutorial; please don’t do this. A Brief Primer on Inheritance A common school of thought among programmers is to reduce repetition wherever possible. Usually, this is a good idea, as if I need to change something, I only need to change it in one place. We usually accomplish this using inheritance, like this simple example: This way, both an instance of Animal and an instance of Dog have the name property, but Dogs also have the bark method. If we need to later add a property to both Animals and Dogs, we can just add it
Read More