TYPESCRIPT


5 June 2022

Interfaces over Unions

PHPJSJAVASCRIPTTYPESCRIPT

Unions have started coming into PHP with the release of version 8. We have been using them a bit in typescript and have found that opting for an interface is much better. Interfaces clean up the flow of your code and make things much more readable by eliminating the need for many if statements.

Read more →
10 June 2019

ReactJS Router Lazy Loading Pages

REACTJSTYPESCRIPT

When creating a single page app application with [[ReactJS|react]] router. Your bundle size can get quite big when having quite a few pages. Loading all this in one can hinder your performance.

Read more →