Kier BorromeoVue Slots in ReactIn React, we pass elements to a component by simply passing elements to a prop. Here’s an example:Jul 24, 20187Jul 24, 20187
Kier BorromeoVue: Workaround for callback refsVue 2 used to support callback refs, but removed in 2.2 because it caused bugs that were hard to fix without breaking backwards…Dec 31, 20171Dec 31, 20171
Kier BorromeoReact: Render props as data transformation layerIf it looks stupid but works, it ain’t stupid.Dec 27, 2017Dec 27, 2017
Kier BorromeoReact: Maintaining state for collectionsIf you’re fairly new to building UIs, specifically with React, deciding the data structure for the states of each item in a collection can…Sep 4, 2017Sep 4, 2017
Kier BorromeoReact: Effectively composing components with async/sync optionsOftentimes, there’s unwarranted extra effort in building a reusable component that can be either async or sync based on the provided props.Aug 23, 2017Aug 23, 2017
Kier BorromeoLaravel: Query scopes — use $query not $thisWhen using Eloquent’s scoped queries, use the $query provided as the first argument.May 3, 2017May 3, 2017
Kier BorromeoDocument-First DevelopmentInevitably, the typical (but reckless) setup in the becoming-common API-centric development is having the backend and frontend work at the…Jan 27, 2017Jan 27, 2017
Kier BorromeoEnvoyer: Skipping `composer install`Currently, Envoyer does not yet have any option to skip composer install. This was initially a downer because I’m deploying a Laravel…May 4, 2016May 4, 2016
Kier BorromeoReact: Utilizing factories to test componentsUsing a simple programming concept to help you test React components.Mar 15, 2016Mar 15, 2016
Kier Borromeoaxios: Test requests by stubbingWhat I love about http libraries like axios is not just how it makes it simple to make a request, but also how simple it is to test it.Feb 26, 20163Feb 26, 20163