CalvinTorra
How to handle multiple queries with React Query:
There are two ways to handle multiple queries with React Query. The simplest method is...
How do I get the data from useQuery in onSuccess callback?:
There was a bit of confusion on how to get the data from useQuery in...
How to pass parameters to useQuery using Axios:
There are two 'correct' ways to pass parameters to useQuery using Axios and one "looks...
Fix: No QueryClient set, use QueryClientProvider to set one:
I've been asked this 3 times now "No QueryClient set, use QueryClientProvider to set one"...
How to trigger useQuery with a button click: React Query:
A recent site visitor asked me how to trigger useQuery when they click on a...
Next.js Loads script tags but it doesnt execute them:
Had another question "Next.js Loads script tags but it doesn't execute them" on my website...
How to add a favicon to a Next.js static site?:
How to add a favicon to a Next.js static site? I was asked this...
How to get query string parameters from the URL in Next.js:
Someone left a message on my site about "How to get query string parameters from...
How to view data on a NEAR protocol contract for Free?:
There are two ways to view and interact with data on the NEAR blockchain. Change...
Giving Away NFTs For Free As A New Form Of Marketing:
How much does it cost to give away 1000s of NFTS? We need a website...
Where do you get NEAR Protocol Testnet tokens:
Where do you get NEAR Protocol Testnet tokens. While NEAR testnet gives you 200 tokens...
Why new developers should read 5000 lines of code a week:
Absorbing large volumes of text and code will expose you to important, recurring patterns. Highlight...
How to listen to events on a smart contract using ethers.js and contract.on() in node.js:
So there was a question in the community that was asked about listening to events...
SX Network. 1000x Cheaper than Polygon:
The same team that built the SportX.bet platform have now built a Purpose built blockchain...
Smart Contract Fuzzing with Consensys Diligence:
In this video I talk about the new Fuzzing platform from Consensys Diligence. Allowing us...
Ganache v7 is now 30x faster.:
They've just released version 7 and it's faster than ever. Allowing us to test our...
Cypress + Next.js Environment Variables:
Signing in to an app using Cypress, but don't want to hard code the values...
57 Hours of Code vs 57 Hours of TV:
Below is how many hours it takes to watch some of the most popular series...
How To add Open Graph Social Metadata to Next.js using WordPress:
If you've seen my post on linking up the Wordpress API with Next.js to create...
Headless CMS: WordPress API v2 To Next.js:
GetStaticPaths + Props for Next.js using the Wordpress API. Statically generating these posts and pages...
Add Prism.js Code Highlighting to Next.js:
I think i was snooping around the html on https://swizec.com/blog/ where I noticed something called...
Get first 10 or n items of an Array in Javascript:
"If you only have a hammer, everything looks like a nail". Let's use Array.slice(), it...
SCP Foundation Game:
I came across Drew Conley's channel and followed along with his tutorial up until the...
How to check if an ES6 Map or Set is empty?:
While working with normal objects in Javascript we're able to check if the object is...
How To: Delete property from an Object using spread operator:
I was trying to manipulate an object and remove one of the properties but I...
Convert Array to Object Keys:
I wanted to take an array of elements and turn them into an object. The...
How To: if statements in Javascript Switch case?:
A situation came up where I had to check for keyboard events and I wanted...
Sort two Object properties with Array.sort():
Here is the "fall through" method. I know I had seen this before, but I've...
Ironhack Full Stack Developer Bootcamp Week 2:
It only occurred to me the other day to skip ahead and see what things...
Ironhack Full Stack Developer Bootcamp Week 1:
I recently started a coding BootCamp with IronHack, It's a full-stack javascript course.... and it's...
Why Decentralization Is not as Important as You Think:
I've been a fan of Haseeb for a while now - In this essay, he...
What working at a successful startup looks like financially?:
Notable Events July has been a little crazy and a complete train wreck for content...
Dom Traversal for Fun and Profit:
During my time writing funny words in an IDE to make the computer do what...
Javascript Classes are Harmful:
A pretty bold statement but apparently a common feeling for seasoned Javascript developers. Javascript...
What Is SSH and How Does It Work?:
What Is SSH? SSH or Secure Shell allows people to have remote access to their...
CSS Grid Day 1:
CSS Grid caught my attention while binge watching a Clone X website on Youtube. Obviously...
A truly original idea:
While looking for 'good ideas' we could simply destructure/unbundle existing services like IFTTT, Zapier or...
€30,000 vs €5 Questions:
If someone chooses to waste a day over something that is in the double digits,...
Journey to building a digital brand (Automation):
something...
Journey to building a digital brand (Ideation):
So obviously I'm going to attempt to do exactly the same thing in a new...
Updating an Object value using .map() and ternary operators:
I feel like I have to write these things down otherwise 2 hours of searching...
My First Public Software Tool, $120 in 3 Seconds:
a simple tool that creates a mobile ready email newsletter of your latest wordpress articles....
How I saved 8 Hours, Automating my Gov Appointment Hunt Using Python + Selenium:
-...
Time Spent Coding:
Productivity is not about how much time you were thinking about a task, but actually...
A Case For Early Mornings:
Why I study at 5am - When motivation runs out - discipline carries you across...
Connect your WordPress API To React Using Hooks:
How I discovered the JamStack method of pulling data from Wordpress and displaying in React....
PSD To HTML. Still Designing Websites In Photoshop:
What I learned while implementing a headless CMS with ReactJS, just so I could start...
Contact Me