Skip to content

Instantly share code, notes, and snippets.

View timseriakov's full-sized avatar
💬
In git we trust

Tim Seriakov timseriakov

💬
In git we trust
View GitHub Profile
@timseriakov
timseriakov / tailwind.config.js
Created May 18, 2022 12:27 — forked from hacknug/tailwind.config.js
TailwindCSS default config
/*
Tailwind - The Utility-First CSS Framework
A project by Adam Wathan (@adamwathan), Jonathan Reinink (@reinink),
David Hemphill (@davidhemphill) and Steve Schoger (@steveschoger).
Welcome to the Tailwind config file. This is where you can customize
Tailwind specifically for your project. Don't be intimidated by the
length of this file. It's really just a big JavaScript object and
@timseriakov
timseriakov / useSelector-useCallback.jsx
Created January 15, 2021 08:50
useSelector без лишних перерисовок #useSelector #redux
const selector = useCallback((state) => state.todolist, [])
const {todoListData} = useSelector(selector)
import React, {ChangeEvent, useState} from 'react';
import {TextField} from '@material-ui/core';
type EditableSpanPropsType = {
value: string
onChange: (newValue: string) => void
}
export const EditableSpan = React.memo(function (props: EditableSpanPropsType) {
console.log("EditableSpan called");
@timseriakov
timseriakov / pug.md
Created April 17, 2020 16:28 — forked from neretin-trike/pug.md
Туториал по HTML препроцессору Pug (Jade)