Frontend Web Developer with a BS in Computer Science and 6 years of experience. Proficient in JavaScript, TypeScript, React, and Next.js and currently expanding my knowledge of Node and React Native, aiming to become a Full-Stack developer.
🏠
Working from home
Software engineer interested in building innovative products and user interfaces using cutting edge web technologies.
- Brazil
-
02:26
(UTC -03:00) - gabrielmlinassi.com
- @gabrielmlinassi
- in/gabrielmlinassi
Highlights
Pinned Loading
-
gym-lp
gym-lp PublicSite built with NextJS, NextAuth, Framer Motion, TailwindCSS, RadixUI, etc. https://peak-strength-lp.vercel.app/
TypeScript
-
useMediaQuery & useBreakpoints hooks...
useMediaQuery & useBreakpoints hooks for handling conditional rendering on multiple breakpoints (Adapted for Next.js) 1// -------------------------
2// useMediaQuery
34import { useState, useEffect, useLayoutEffect } from "react";
5 -
How to implement debounce
How to implement debounce 1// #1. With a controlled input
2import { useState, useEffect } from 'react';
3const debounce = require("lodash.debounce");
45function SearchBar({ onSearch, wait = 500 }) {
-
workaround aspect-ratio safari
workaround aspect-ratio safari 1import { useRef, useEffect, useState } from "react";
23export default function Test() {
4const [height, setHeight] = useState(0);
5const ref = useRef<HTMLDivElement>(null);
-
GraphQL with Vanilla JavaScript
GraphQL with Vanilla JavaScript 1const api = axios.create({
2baseURL: "xxx/graphql",
3method: "POST",
4headers: { "Content-Type": "application/json" },
5});
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.