Skip to content
View ameetmadan's full-sized avatar
🏠
Working from home
🏠
Working from home

Block or report ameetmadan

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
ameetmadan/README.md

wakatime

Pinned Loading

  1. react-app-tutorial react-app-tutorial Public

    Forked from inkognitro/react-app-tutorial

    WIP: A tutorial for a full react app framework with auth, i18n, form errors, http & api handling.

    TypeScript

  2. mui/material-ui mui/material-ui Public

    Material UI: Comprehensive React component library that implements Google's Material Design. Free forever.

    TypeScript 93.5k 32.2k

  3. Boilerplate code for SWR hook using ... Boilerplate code for SWR hook using IntelliJ WebStorm Live Templates
    1
    import axios from "axios";
    2
    
                  
    3
    // define the fetcher once, export it and use it every where you use useSWR
    4
    export const fetcher = (url: string) => axios.get(url).then(res => res.data)
    5
    
                  
  4. Create a new React.FC using Live tem... Create a new React.FC using Live templates for IntelliJ WebStorm
    1
    import React, { FC } from "react";
    2
    
                  
    3
    // $ComponentName$ is a variable which can be set to fileNameWithoutExtension()
    4
    
                  
    5
    type $ComponentName$Props = {
  5. Clean display of dates in the past Clean display of dates in the past
    1
    import DateDiff from "date-diff";
    2
    export function getFormattedDateDifference(dateAdded: string) {
    3
        const diff = new DateDiff(new Date(), new Date(dateAdded))
    4
        if (diff.minutes() < 60) {
    5
            if (Math.round(diff.minutes()) === 1) {