Posts in "Frameworks"

Next.js: Use Server-Side Rendering in your React App // Part 1

Usually, we are completely running React.js on client-side: Javascript is interpreted by your browser. The initial html returned by the server contains a placeholder, e.g. <div id=”root”></div>, and then, once all your scripts are loaded, the entire UI is rendered in the browser. We call it client-side rendering. The problem is that, in the meantime, your… Continue reading

Configure Xdebug and PhpStorm for a Vagrant project in 5 minutes

Warning: this article concerns php5 version. If your PHP version is different, replace php5 by php/X.Y in paths (X.Y is your PHP version) and phpX.Y in command. For example : sudo apt-get install php5-xdebug becomes sudo apt-get install php5.6-xdebug /etc/php5/mods-available/xdebug.ini becomes /etc/php/5.6/mods-available/xdebug.ini I love debuggers. They allow me to understand deep down in my code why… Continue reading