DEV Community

loading...
Supun Kavinda profile picture

Supun Kavinda

Seeking success

Location Sri Lanka Joined Joined on  Email address supunkavinda1125@gmail.com Twitter logo Website logo

All 112 comments

Global state management in React with global variables and hooks. State management doesn't have to be so hard.

We use your state-pool in our production system and it works ...

Making dev.to Incredibly fast

Hi Ben, you mentioned "A typical request first returns a full...

Highlight Searched text on a page with just Javascript

Do you have any idea how to do this when innerHTML already co...

Start a static blog in 2021 with Hexo and Netlify

That's a great resource! Thanks for sharing.

Is document.execCommand() obsolete?

Neeraj, Thanks for the comment. We started creating the app...

Is document.execCommand() obsolete?

Thanks for the comment, David. After posting this, I checked...

Is document.execCommand() obsolete?

David, Thanks for the comment. It's quite frustrating that ...

Dynamic Pages using React Router

You said what I was going to say ;)

Website feedback needed

Design is great! I love the fact that DevDojo community is mo...

Comparing the best frontend JavaScript frameworks of 2020

I'm surprised Svelte isn't the first one :)

Can Anyone Guide Me How To be good at Artificial Intelligence and Machine Learning?

If you like to learn in a top-bottom approach, check machinel...

How do you take screenshots?

I capture the whole screen with prt sc button and then paste ...

Is it safe to use Disqus for my Blog?

Hyvor users can set their profile picture. For guest commente...

Is it safe to use Disqus for my Blog?

Truthfully, I don't really know whether I have about comment...

Is it safe to use Disqus for my Blog?

Hello Pacharapol, Thanks for the reply. Yes, $35 can be exp...

Is it safe to use Disqus for my Blog?

Awesome 🔥

Is it safe to use Disqus for my Blog?

Sure, you can also import the comments from Disqus to Hyvor T...

Is it safe to use Disqus for my Blog?

Hello! Founder of Hyvor Talk, a Disqus alternative, here. Ba...

List of top Open Source alternatives to popular products.

Google Analytics is free and others are paid 🤔 Start paying?

Senior front end dev here, ask me anything!

Great answer, thank you very much!

Senior front end dev here, ask me anything!

Hello, what do you think about the future of Javascript? Will...

Svelte, why so much hype ?

Anthony, nice post. As @mattwaler said, this is the only fra...

Accessible switch toggle button with svelte.js and tailwind.css

Great! Waiting for it.

Accessible switch toggle button with svelte.js and tailwind.css

Hello Ilia, I read most of your articles on Svelte. Do you ha...

Svelte routing with page.js, Part 1

Thanks! I'm getting more interested in Svelte.

Should I Use a Static Site Generator

Would definitely go with Jekyll

Celebrating 13K+ Followers on DEV

3% of DEV members follow you. 🎉

What's the proper way to move website to a new address?

Hey! I got this idea. Github allows you to set custom doma...

What's the proper way to move website to a new address?

I'm not sure if it helps. Normally, Google shows the higher d...

I created a Jekyll Theme in 375 Minutes 🔥

Hey Sunil, Reactions comes with the Hyvor Talk Comments Pl...

[Question] What is random seed?

Owh, got it. Thank you. Awesome two cents. :)

[Question] What is random seed?

Thank you very much. I bookmarked the tutorial. I'll read i...

[Question] What is random seed?

Thank you. What do you mean by one-sided dice? Only one si...

Everyone should write an operating system once

You have already created a system called "DEV". And, now yo...

DEV Social Badge - Going Open-source!

Ah wait, you have to render the HTML - because it's built o...

DEV Social Badge - Going Open-source!

Ah, got it. Btw, simply scrape the URL of the post and ge...

3 Steps to Create a Site/Blog with Jekyll and Github Pages

tbh, this is not always correct. There are many non-tech bl...

DEV Social Badge - Going Open-source!

Hey, This is super cool! One suggestion: Is there a way to ...

3 Steps to Create a Site/Blog with Jekyll and Github Pages

Yeah. I have been into Jekyll these days and it's totally a...

3 Steps to Create a Site/Blog with Jekyll and Github Pages

function getBlogType(isTechBlog) { return isTechBlog ? ['...

3 Steps to Create a Site/Blog with Jekyll and Github Pages

Nice to hear that!

The definitive guide to SCSS

Import is now deprecated due to several issues. See this fo...

Shipping Home Page Cleanups

Previously the fonts in the post and the homepage were the ...

Shipping Home Page Cleanups

Great! I'm glad to hear that. Font: I tried clearing cache...

Shipping Home Page Cleanups

Great work, but, honestly, I don't much like it for a few r...

I wrote 1 blog post every day for 2 years. Here's 5 things I learned about SEO

Hey Flavio, I first found you when I needed to know how to ...

A Complete Beginner's Guide to React Router (including Router Hooks)

Yeah, I agree with that. <Fragment> is much clearer. Th...

A Complete Beginner's Guide to React Router (including Router Hooks)

Hey! Nice tutorial. By the way, any reason to use <Fragm...

How can I tell if my canonical URLs are working?

How Google uses canonicals is confusing. Sometimes, even yo...

Add dark mode to your website with just a few lines of code

So, why would you prefer this to CSS variables?

12 VSCode Shortcuts and Tactics to Ease Development

Because Sublime is a native software while VSCode runs on E...

Ubuntu Terminal in CSS

Ah, got it. Never knew it was possible. Thanks 😊

Ubuntu Terminal in CSS

Nice! It's very cute. btw, what does alternate do in the ...

F*ck-That Money

I agree with that point. btw, I just found your interview...

Videolitic - First Open source Project!

Wait, is Hillary Clinton black? 🤔

Get Paid Writing Articles for These 14 Companies ($100+ Per Article)

Joshua, Thanks. I'll add it soon. It's only for Ruby and ...

I created Flexbox Playground

Like the funky design ;)

How does your code sound?

INNOVATIVE

The most important sorting algorithm you need to know

Safia, thanks for sharing. Never knew that. Fun fact: I re...

DNS Demystified 💪

There's a dedicated post for DNS Records dev.to/chrisachar...

A Concise On-Page SEO Checklist

backend Yeah, the correct word

Get Paid Writing Articles for These 14 Companies ($100+ Per Article)

Nice to hear that 😊

DNS Demystified 💪

Yeah, you got it! :)

Get Paid Writing Articles for These 14 Companies ($100+ Per Article)

You are welcome!

Get Paid Writing Articles for These 14 Companies ($100+ Per Article)

Yes, there are. There's a FAQ on how to find them. :)

Get Paid Writing Articles for These 14 Companies ($100+ Per Article)

Is there a way to get more details about that website (like...

Get Paid Writing Articles for These 14 Companies ($100+ Per Article)

Good luck!

Get Paid Writing Articles for These 14 Companies ($100+ Per Article)

Should be the featured comment ⭐. Thanks for sharing your e...

Get Paid Writing Articles for These 14 Companies ($100+ Per Article)

Nice point you made! No Reposting: NEVER share the same ...

Get Paid Writing Articles for These 14 Companies ($100+ Per Article)

You are welcome :)

Get Paid Writing Articles for These 14 Companies ($100+ Per Article)

It's becoming a trend 📈

Get Paid Writing Articles for These 14 Companies ($100+ Per Article)

There are many websites I haven't seen in the repo. I'll ch...

Get Paid Writing Articles for These 14 Companies ($100+ Per Article)

It's more about what you have done in the past. Have you writ...

How to build your own blog in 2020 today

Here's how I've built my list: Googled something and could...

Write More Robust JavaScript: 7 Best Practices

Always consider using try/catch when using JSON.parse or ...

Three reasons I like PHP more than Modern Javascript

That's true :)

How to Add Comments to Gatsby Blog using Hyvor Talk

You are welcome :)

Personal Website

What technologies did you use to create animations? Are t...

Personal Website

Cool <3

Gatsby Sparks Joy

Now it's awesome! Btw, if you like to check our commenting...

Gatsby Sparks Joy

Nice post <3 I recently worked on integrating our comme...

Have React hooks replaced class lifecycle methods 🤔?

Yes, I was confused because the React Hooks introduction en...

How to Add Comments to Gatsby Blog using Hyvor Talk

Nice to hear that 🥰

What was your win this past week?

I created by first react library and posted how to use it w...

Animating forms like a semi pro ✨

Radio button animation is cute!

Acoustic activity recognition in JavaScript

By tone, I meant tone: which makes a C note from violin and...

Acoustic activity recognition in JavaScript

Yep. I asked if it is trained for frequency or the tone? or...

Acoustic activity recognition in JavaScript

Okay, one question. low-frequency whistling = brushing teeth...

How to automatically backup MYSQL to Amazon S3?

This is something I previously never thought about. Howeve...

🚀⚙️ JavaScript Visualized: the JavaScript Engine

Nice post. Very comprehensive. I shared it on our JS group

What was your win this week?

This week is one of the best for me. The 100th user signed ...

10 soft and hard skills you need to be a good developer

I wouldn't explicitly state that you need to know database...

How do you bypass browser cache on a new web app update?

Thank you! I was using the second approach. It works quit...

How do you bypass browser cache on a new web app update?

So, do you edit the HTML file every time? I mean, the <...

Token vs Session Authentication

In JWT, to validate the token, doesn't the server need to s...

Improving your Git workflow

For branches, I like what @ben does - ben/fix-analytics S...

My 5 favorite resources for learning JavaScript

Google's favorite is w3schools :)

🌐 How I host my projects on subdomains

I first heard about Porkbun in this article, and WHOIS privac...

🌐 How I host my projects on subdomains

Nice article! Is there any reason for choosing Porkbun over c...

Identifying trolls and bots on Reddit with machine learning (Part 2)

It really made sense. Thanks!

What is the best comment service for a hosted website?

I found this old discussion. But, I would like to invite you ...

How do you test your website on different browsers?

Thanks! Definitely going to check this out!

Git and Github - must know commands to make your first commit

Final tips were the best ;)

GitHub Projects or Trello? What is your thing?

I use Meister Task to manage my personal projects as well a...

How to create Javascript variables from PHP variables?

I think you are talking about adding some PHP variables int...

Insertion Sort with Javascript

You are correct, in general it is called order of growth. ...

Beginners Guide to PHP

Take a PHP Tutorial. Here are some of them. W3schools Tut...

loading...