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

PhpStorm 2019.1 Blade Debugging Support and a Laravel Code Style Preset

JetBrains announced the release of PhpStorm 2019.1 this week with debugging support for Blade (and Twig) templates and a new predefined Laravel code style configuration. Upgrade your Laravel applications to Laravel 5.8 and get XDebug ready to start debugging Laravel Blade templates in PhpStorm Continue reading PhpStorm 2019.1 Blade Debugging Support and a Laravel Code Style Preset

s What is the difference between ‘+’ and ‘~’ sibling selectors?

The General Sibling Selector ~ selects all elements that are siblings of a specified element. The following example selects all <p> elements that are siblings of <div> elements: The Adjacent Sibling Selector + selects all elements that are the adjacent siblings of a specified element. The following example Continue reading s What is the difference between ‘+’ and ‘~’ sibling selectors?