Engineering

Engineering

1001 bookmarks
Custom sorting
Ivan Akulov on Twitter: "21) /*#__PURE__*/ This is my favorite conference trick. If you have a function that you — call once, — store its result in a variable, — and then don’t use that variable – tree-shaking will remove the variable, but *not* the function. https://t.co/LfOwD59D2x" / Twitter
Ivan Akulov on Twitter: "21) /*#__PURE__*/ This is my favorite conference trick. If you have a function that you — call once, — store its result in a variable, — and then don’t use that variable – tree-shaking will remove the variable, but *not* the function. https://t.co/LfOwD59D2x" / Twitter
·twitter.com·
Ivan Akulov on Twitter: "21) /*#__PURE__*/ This is my favorite conference trick. If you have a function that you — call once, — store its result in a variable, — and then don’t use that variable – tree-shaking will remove the variable, but *not* the function. https://t.co/LfOwD59D2x" / Twitter