PHP

Conditionally adding things to mailables

Quick @laravelphp tip: The `MailMessage` class has a `when` method that’s useful to conditionally add things to the mailable. Great for adding optional lines. 🤠 pic.twitter.com/TGGb5J6zk2 — Wilbur Powery E. (@wilburpowery) February 22, 2021

By , ago
PHP

Before You memo()

In this post, Dan Abramov shares two different techniques to optimize components without having to reach for memo(). Read More

By , ago