Jed's Blog

HomeBadges
Blog Author Picture

Jed Tony

I am a full-stack software engineer, back-end heavy. I like to write down my thoughts and things that I have learned while building software

Creating an Interface for API in Laravel

Sep 22, 202016 min read

When writing APIs we sometimes fall into the trap of fetching data from the database and sending them as responses to a request without properly formatting them. Such responses end up having the column names of the tables of the database from which t...

Prevent Window From Closing in React.js

Aug 3, 20203 min read

Let's say you want to prevent your webpage or the browser from being exited when the user clicks on the Close button, how would you do it in React.js? We want to put in place an event that triggers a confirmation dialogue asking the user if they "rea...

© 2021 Jed's Blog

PrivacyTerms
Proudly part of