The Laravel team released v5.8.4 yesterday with a new collection join method and an HTTP Kernel middleware getter. First, the new Collect::join() method to join all items from the collection using a string. The final item can use a separate “glue” string as well: Continue reading Laravel 5.8.4 Released
For a while, Sublime stable releases went dark for a long time. Then out of nowhere Sublime Text 3.0 stable shipped in September 2017, Sublime Text 3.1 in June 2018, and a new product called Sublime Merge released in September 2018. In the latest release, Continue reading Sublime Text 3.2 Released
In HTML, the attribute name is in all lowercase and is given a string invoking a function defined somewhere: In React, the attribute name is camelCase and are passed the function reference inside curly braces: In HTML, false can be returned to Continue reading What is the difference between HTML and React event handling?
Both increment the variable value by 1. The difference is what they evaluate to. The postfix increment operator evaluates to the value before it was incremented. The prefix increment operator evaluates to the value after it was incremented. What others are reading:Eloquent ORM – Continue reading What is the difference between the postfix i++ and prefix ++i increment operators?
The Laravel team released Laravel 5.8.3 yesterday adding a countBy() collection method and a few protected methods to Laravel framework classes. First, the Collection::countBy method which counts the number of items in a collection by a predicate. By default, the method counts each appearance Continue reading Laravel 5.8.3 Released