Please see: https://github.com/kevinSuttle/html-meta-tags, thanks for the idea @dandv!
Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/
In React's terminology, there are five core types that are important to distinguish:
React Elements
When you install Puppeteer, it downloads a recent version of Chromium (~170MB Mac, ~282MB Linux, ~280MB Win) that is guaranteed to work with the API.
If you have chrome-linux.zip
by chance here is instruction to get it into work
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1 yarn add puppeteer
.local-chromium
in node_modules/puppeteer
linux-901912
in .local-chromium
version is the same as the version which you've downloaded chromimum e.g. in https://storage.googleapis.com/chromium-browser-snapshots/Linux_x64/901912/chrome-linux.zip
install flutter with snap
import { useRef, useCallback } from 'react'; | |
export const useUndoRedo = <T>() => { | |
const undoStack = useRef<T[]>([]); | |
const undoPointer = useRef(-1); | |
const add = useCallback((item: T) => { | |
const pointer = ++undoPointer.current; | |
undoStack.current.length = pointer; | |
undoStack.current[pointer] = item; |