Skip to content

Instantly share code, notes, and snippets.

import React, {
useRef,
createContext,
useContext,
useCallback,
useSyncExternalStore,
} from "react";
/**
* A performant context which is useful for high velocity state changes e.g. typing in an input field.
@ThomasHoadley
ThomasHoadley / share.html
Created March 9, 2016 15:57 — forked from DanAntFerrari/share.html
Social links share
<ul class="social">
<li>
<a title="Pinterest" href="//www.pinterest.com/pin/create/button/?url=http://www.YOURSITE.com/cat-{{ post.id_post }}"
target="_blank"
rel="nofollow"
onclick="window.open(this.href,'_blank', 'width=700, height=300');return false;">
<span class="icon icon-pinterest"></span>
</a>
</li>
<li>