Skip to content

Instantly share code, notes, and snippets.

View jeremenichelli's full-sized avatar

Jeremias Menichelli jeremenichelli

View GitHub Profile
@iranreyes
iranreyes / gist:075c842e2ae143b5a923478f0898d021
Last active August 5, 2016 18:53
My notes about SSR React

Server Side Rendering

Why implement it?

  1. SEO
  2. Performance
  3. Javascript and Accesibility

SEO

  • Not every search engine crawler execute JS only Google and with Google must not be blocking calls.
@gre
gre / easing.js
Last active April 30, 2024 04:58
Simple Easing Functions in Javascript - see https://github.com/gre/bezier-easing
/*
* This work is free. You can redistribute it and/or modify it under the
* terms of the Do What The Fuck You Want To Public License, Version 2,
* as published by Sam Hocevar. See the COPYING file for more details.
*/
/*
* Easing Functions - inspired from http://gizma.com/easing/
* only considering the t value for the range [0, 1] => [0, 1]
*/
EasingFunctions = {
@paulirish
paulirish / rAF.js
Last active March 22, 2024 00:00
requestAnimationFrame polyfill
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
// requestAnimationFrame polyfill by Erik Möller. fixes from Paul Irish and Tino Zijdel
// MIT license
(function() {
var lastTime = 0;
var vendors = ['ms', 'moz', 'webkit', 'o'];