Laravel 5.8.16 Adds New Migration Events

The Laravel team released Laravel v5.8.16 yesterday with new migration events and adds the Renderable contract to the MailMessage class. First, migration event classes were added to the framework under the Illuminate\Database\Events namespace: MigrationEnded MigrationsEnded MigrationStarted MigrationsStarted Next, the ability to drop enum Continue reading Laravel 5.8.16 Adds New Migration Events

Laravel Mix Alias

Laravel Mix Alias is an NPM package that provides a convenience method around WebPack’s resolve.alias configuration. Here’s an example of how you can make require and importstatements simpler: Which enables you to write import statements like this: If you’re not familiar with Webpack’s resolve.alias config, here’s how you can Continue reading Laravel Mix Alias

How do you ensure methods have the correct this context in React component classes?

In JavaScript classes, the methods are not bound by default. This means that their this context can be changed (in the case of an event handler, to the element that is listening to the event) and will not refer to the component Continue reading How do you ensure methods have the correct this context in React component classes?

v5.8.10 Released Featuring a New Replicating Model Event

The Laravel team just released v5.8.10, and this release includes two new features. A replicating model event and NotificationFake is now macroable. If you are not familiar with Model Events, read our tutorial on getting started with Laravel Model Events and see how these can be Continue reading v5.8.10 Released Featuring a New Replicating Model Event