Sink In

Sink In Computers & Technology

Understanding Javascript Array's .reduce() method and its use-cases
24/07/2020

Understanding Javascript Array's .reduce() method and its use-cases

After reading various tweets and blogs, I decided to write a detailed article on what exactly reduce method is and what can be some of its use cases.

Have you ever faced this issue that your useEffect hook gets executed multiple times? Maybe sometimes it goes into the i...
24/05/2020

Have you ever faced this issue that your useEffect hook gets executed multiple times? Maybe sometimes it goes into the infinite loop?



Have you ever faced this issue that your useEffect hook gets executed multiple times? Maybe sometimes it goes into the infinite loop?

https://gosink.in/node-js-scrape-client-rendered-pages-react-vue-js/
29/12/2019

https://gosink.in/node-js-scrape-client-rendered-pages-react-vue-js/

There are tons of scraping tools out there for Node.js like cheerio, but what if there is an empty DOM with only a bunch of JavaScripts? The bigger challenge is what if you want to scrape thousands of pages of a specific website without getting your IP blocked?

I was doing some research on why we should use rel="noopener noreferrer" with target="_blank" in HTML's anchor tags and ...
08/11/2019

I was doing some research on why we should use rel="noopener noreferrer" with target="_blank" in HTML's anchor tags and why linters keep showing us errors.

After some research, I found out that if we don't use this, we're making our website vulnerable to "Tabnabbing" phishing attack.

In addition to this, it affects the performance of the website if the new website has very heavy or poor javascript.

Check out this blog for the demo and more details!

https://gosink.in/are-you-making-website-vulnerable-target-blank-or-performance/

Or, are you compromising the performance of your website? Okay, first, let me show you one example!

A few months back, I was working on a project for a   as a  . It was just an MVP and we were running out of time. So we ...
25/08/2019

A few months back, I was working on a project for a as a . It was just an MVP and we were running out of time. So we decided to go with Vue.js.

The requirement of that project was to make separate subdomains for different types of users and we didn't want to make separate apps for each subdomain as half of the components were reusable without any major modification.

At that time, we found out that there was almost no blog, documentation, tutorial etc to see the code and implement in our project. So I decided to write a simple application and a blog to demonstrate how easy it is to do such a thing. Hope this may help someone.

https://gosink.in/vue-js-how-to-handle-multiple-subdomains-on-a-single-app/

In this article, I’m going to show you how we can divide a Vue.js application into multiple subdomains (or multiple domains if you want) like example.com, admin.example.com, test.example.com etc.

While making a   for my new Next.js apps, I felt the need for a progress-bar indicator component which can highly be mod...
25/08/2019

While making a for my new Next.js apps, I felt the need for a progress-bar indicator component which can highly be modified for all the new apps. So I created an NPM package for that. If someone wants to make their own progress-bar component for Next.js, I wrote a blog that'll help to learn and build custom components for your Next.js app.



Blog: https://gosink.in/next-js-make-your-own-progress-bar-indicator-component-easily/

NPM Package: https://www.npmjs.com/package/nextjs-progressbar

In this article, we’ll make a Next.js component which can easily be modified for all kinds of usage using NProgress package, and use it inside our Next.js app.

When I first started using AWS S3 with STS, it was quite confusing for me to implement these things. Although the docume...
25/08/2019

When I first started using AWS S3 with STS, it was quite confusing for me to implement these things. Although the documentation has all the things mentioned in it, as a newbie in AWS, it was still a difficult task to extract all the information out of it as it is distributed over too many pages and there are very few examples.

When I first started using AWS S3 with STS, it was quite confusing for me to implement these things. Although the documentation has all the things mentioned in it, as a newbie in AWS, it was still a difficult task to extract all the information out of it.

I’ve heard people saying that JWT(JSON Web Token) is insecure, try to avoid it and many other things, and they’re not co...
24/08/2019

I’ve heard people saying that JWT(JSON Web Token) is insecure, try to avoid it and many other things, and they’re not completely wrong. They have fair points against JWT. So, in this article, I’ll show some best practices which I use to make this process much secure.

I’ve heard people saying that JWT(JSON Web Token) is insecure, try to avoid it and many other things, and they’re not completely wrong. They have fair points against JWT. So, today in this article I’ll show some best practices which I use to make this process much secure.

Address

Ahmedabad
380013

Alerts

Be the first to know and let us send you an email when Sink In posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Share