Open in app

Sign In

Write

Sign In

Calvin Torra
Calvin Torra

44 Followers

Home

About

Pinned

My First Public Software Tool, $120 in 3 Seconds with Email Templates

At the beginning 2021 I decided I wanted to start building things that people could use. Something that I wish I had in the past, things that make people’s lives a little easier or make boring things a little faster. It then dawned on me that I never have any…

Email Marketing Tips

5 min read

My First Public Software Tool, $120 in 3 Seconds with Email T
My First Public Software Tool, $120 in 3 Seconds with Email T
Email Marketing Tips

5 min read


Feb 1

Build A Responsive Currency Converter app with React.js — Tutorial From Scratch

https://youtu.be/iCXnHkww79Y

React

1 min read

React

1 min read


Jan 24

Build a Modern Real Estate React.js App | Next.js Website Tutorial

React

1 min read

React

1 min read


Jan 7

How to handle multiple queries with React Query

There are two ways to handle multiple queries with React Query. Method 1: Call useQuery Twice The simplest method is just to call useQuery twice but re-assign the data variable that we’re destructuring. They can’t both be called data. const { data: userData } = useQuery("users", fetchUsers); const { data: postData } = useQuery("posts", fetchPosts); Method 2: useQueries …

100daysofcode

2 min read

How to handle multiple queries with React Query
How to handle multiple queries with React Query
100daysofcode

2 min read


Jan 5

How do I get the data from useQuery in onSuccess callback?

There was a bit of confusion on how to get data back from useQuery hook. The developer asking this question thought that the onSuccess key was how you finally got your data from useQuery. The onSuccess and onError are callback functions that are called after a fetch has succeeded or…

2 min read

How do I get the data from useQuery in onSuccess callback?
How do I get the data from useQuery in onSuccess callback?

2 min read


Jan 4

How to pass parameters to useQuery using Axios

There are two ‘correct’ ways to pass parameters to useQuery using Axios and one “looks and feels” cleaner than the other. Method 1: Destructuring The query function that is passed to useQuery is given a context object. On this object, we have a queryKey. This contains the parameter that you're passing to the…

2 min read

How to pass parameters to useQuery using Axios
How to pass parameters to useQuery using Axios

2 min read


Jan 4

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 button and I pulled up an example that I use. By default, useQuery fetches immediately when the component calling it mounts, but not everyone wants this behaviour. Method 1: Enabled Boolean You’re able to set the default behaviour to…

2 min read

How to trigger useQuery with a button click: React Query
How to trigger useQuery with a button click: React Query

2 min read


Sep 23, 2022

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. 1. Change Methods Change methods execute functions on smart contracts. These then get proved on the blockchain and they allow us to change the state of a smart contract. ex: Wanting to transfer an NFT from one owner to…

1 min read

1 min read


Sep 21, 2022

Giving Away NFTs For Free As A New Form Of Marketing

The Brief “We need a website that allows people to claim an NFT in the simplest way possible, people without crypto wallets or knowledge of Web3 — Sort of like an Airdrop but…..not an Airdrop” Solution Initial Feedback In The Wild The Problem We’re Solving My parents, grandparents, friends and family have no idea what Web3 is. They have idea…

4 min read

Giving Away NFTs For Free As A New Form Of Marketing
Giving Away NFTs For Free As A New Form Of Marketing

4 min read


Aug 18, 2022

Becoming an Expert is Simple

I’m extremely impressed with the Gymnast that performs 15 back handsprings in a row. It looks effortless. It’s like they’re a different type of human compared to me. One with abilities I’d only dream of having. Naturally you’d think they’re gifted. You don’t really want to admit that it’s just…

2 min read

2 min read

Calvin Torra

Calvin Torra

44 Followers

Frontend Developer fuelled by pizza, coffee and web3

Following
  • Sean Meyer

    Sean Meyer

  • Marco D'Emilia

    Marco D'Emilia

  • Avoid the Hype

    Avoid the Hype

  • Insanity

    Insanity

  • Giribabu

    Giribabu

See all (49)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams