November 16th, 2019Setup Create a directory then: Install these dependencies: (It creates an empty tailwind.config.js file in the project root): Create a…
November 6th, 2019Today I wanted to send along an array as a parameter with all queries from client to server. But I wanted to find a quick way to accomplish…
November 5th, 2019Redux is a predictable state container for JavaScript apps. The whole state of your app is stored in an object tree inside a single store…
October 29th, 2019If you want to initialize state in a class based component we have two options: In constructor As a class property For class based…
October 27th, 2019What's Flux? A design pattern developed at Facebook to keep data flowing in one direction (unidirectional data flow) An alternative to MVC…
October 21st, 2019Make sure you have Node.js installed (https://nodejs.org/dist/v12.13.0/node-v12.13.0-x86.msi) Open command prompt and type in this command…
October 2nd, 2019comes with a built-in test runner called which is basically a tool for executing unite tests and also reporting the result. To run the test…
September 22nd, 2019Before we get started, we need to understand what a higher-order function is. In JavaScript functions are first-class citizens because they…
September 18th, 2019I was assigned to a task to import a GeoJSON file into a SQL Server database. The file was pretty big; I couldn't even open the file in an…
August 9th, 2019Assume that you have a service which accepts as its dependency: Now we wan to be able to load that JSON file inside a test project in order…