Tag: Javascript

Managing unexpected data at runtime in Typescript

Managing unexpected data at runtime in Typescript

How it all began.. In order to ensure an awesome matchmaking journey at Shaadi, we are always releasing new features. To engineer this process for speed and reliability, we use various technologies and software development practices. Typescript is one such technology that has immensely helped us in this mission. Typescript provides us with static type-checking which can identify many programming…

Customize Webpack and babel configuration with fork of create-react-app to optimize SPA

Customize Webpack and babel configuration with fork of create-react-app to optimize SPA

Problem Statement:Many of us start our React SPA project with create-react-app script. We make the deployable app using available configuration of CRA on development environment. But when we run ‘yarn build or npm run build‘ and serve it, the app faces below problems:-> Takes more time to load page due to large bundle size-> Third party library is not…

UI-licious for Automation

UI-licious for Automation

What is UI-licious? To make sure our application delivers value to our users, always – UI-licious is a complete solution for teams to rapidly set up end-to-end user journey tests and continuously monitor their web application. It’s a simple and robust tool for automating interactions with modern web applications. Quite useful to test our web applications to…

When in doubt … Use json-diff

When in doubt … Use json-diff

The original quote by the legendary Ken Thompson goes something like this“When in doubt use brute force.” One possible meaning that can be derived from this quote is that when you are trying to do something clever and you don’t know if/how it works – you need something very simple, core and brute-force to check if your clever solution works or…

Breaking the JavaScript Magician’s code

Breaking the JavaScript Magician’s code

My name is Houdini J.S. Magnifico. What I’m about to perform here are a set of illusions and magic tricks that are sure to blow your mind! So prepare to be amazed! The tricks shown here are performed by trained professionals. Do not attempt these stunts at home. Do it at your office. Viewer discretion is…

React and Finite State Machines

React and Finite State Machines

Finite state machines, generally speaking, are a computation model used to describe a system in terms of the transitions between it’s states. They make it possible to is really easy to visualize your computational model as a graph and make sure that your application isn’t left with unhandled cases or illegal states. Warning: Read the wikipedia page on Finite…

Keeping an 👁 on Web Performance

Keeping an 👁 on Web Performance

90% of our users are mobile and I am sure yours are too. They carry around your business in their pockets and we carry their hopes and dreams 🙂 Now, as many as 85% these users are using low-end mobile devices This represents a new reality for me and my team working here at shaadi.com….