DEV Community

loading...
Dor Shinar profile picture

Dor Shinar

Passionate web developer!

Work

Senior software engineer

All 121 comments

Question: Will Deno replace NodeJS?

No. Yes. Maybe? As it stands, I don't think Deno brings enou...

The React Context hell

Why is it better?

Supercharge Your Website Using PWA: Installable Website

PWA is really sweet, and for a long I was sure it was going t...

Why I don't like to use Styled-Components

And what if I told you that SC actually generates regular CSS...

Why I don't like to use Styled-Components

I've been using styled components for roughly 3 years now (on...

OhSnap! This How To Pin Footers in React

That's not a very flexible way, and I would not recommend rel...

Debug Why React (Re-)Renders a Component

I think it's worth noting that for the most part re-renders a...

Put Down the Destructuring Hammer

I'm sorry, that's a straw man argument. You hand picked bad ...

How fast is Java currently?

There isn't a one-size-fits-all approach to benchmarking. It ...

Do you use any antivirus, anti-malware software?

I've recently switched from Windows to Mac for work, and now ...

Why didn't Preact replace React?

There isn't a clear cut and dry difference, but I'd say that ...

Why didn't Preact replace React?

IMHO, for the standard web app, the difference is minute, and...

30 Things I Learned About Investing in 2020

I don't think active investing is a good strategy, whether yo...

I've made a GitHub action to get deployment URL on pull requests

I'm sure that's a great option too. I chose to stick with a G...

Here's Actually Why Deno Flopped

Dude, Deno exists for two years. It has a long way to go befo...

How to encrypt strings & files in your source code?

It looks cool, but by the time someone has access to your sou...

Are you in the GitHub Arctic Code Vault?

Got the cool badge too!

How to protect your JS ?

Truth is, there isn't really a way to protect your front end ...

Help me with the display of the url

You might want to consider redirecting the user to the new an...

Is C still a high level language?

Being high level or low level has nothing to do with it's rea...

@media (hover: hover) - CSS Media Query

That's really cool! I love how CSS has all these little neat ...

How often do you use git cherry-pick?

Usually when I screw something up haha I've used it maybe a h...

Stop Using Fixed Headers and Start Using Sticky Ones

To be honest, I'm not a fan of either. I find it much simpler...

What if XHR required permission?

Realistically, you'd have to approve anywhere from 10-30 requ...

Better Deno Security: Ask for Permission at Runtime

Loved this article! I wonder why it's not promoted more.

Difficulties Encountered with React Hooks

I guess it should work, but if you're going through so much t...

Should remote workers be paid differently based on location?

Well I get why you may think so, but that was not my intentio...

Should remote workers be paid differently based on location?

I think it's justified to some extent. Cost of living in diff...

Difficulties Encountered with React Hooks

For the most part I think hooks are a game changer, but there...

For standing desk owners, how do you manage your sit/stand schedule?

I have around 7 reminders in my calendar every day at the las...

🎉 Deno: 1.0 officially scheduled on May, 13! Review of the features

That's sort exciting! I've been following on the deno project...

am i too late ??

Definitely not. It's never too late to start. Get a good gras...

What's the best approach for form validation in React?

Formik and yup are a great pair. Although it does seem like y...

Ride Down Into JavaScript Dependency Hell

That's a great write up. It always bugs me that running npm i...

How many requests can the 4-cores server that run PHP app take at the same time?

There's no real answer to this question, as there are far too...

Enabling styled-components' debugging options in your CRA app without ejecting

Hi, there is a much easier way to accomplish that without res...

Using TypeScript to guard against specific React prop combinations

It's a nice approach but I find that it does not scale very w...

Blogging on DEV: canonical URL or intro+link to blog?

I prefer using canonical links, and that's how I cross-post m...

What's your preferred Node.js testing setup?

As far as test runners go, I think mocha and jest go neck a...

What do you think about nested styles in Styled Components?

I think that the power of styled components is defining separ...

What's your JAMstack backend of choice?

I recommend Zeit Now. Very easy to get started and a reason...

React Jest Testing Help

First of all, there doesn't seem to be a reason for the add...

Deno, first approach

Hi! Thank you for the article! Deno indeed seems very inter...

How to Enable Dark Mode on Your Website with Pure CSS?

Nice one! I liked how you used input:checked to avoid using...

Enzyme

Shallow only mounts the component and "mocks" the rendered ...

Docker - Dev, Debug, Deploy

All PHP codes suck? That's quite harsh. Most of the interne...

Do Stacked-PRs require re-review after merge?

Like much of what we do, there isn't a single right answer ...

Do Stacked-PRs require re-review after merge?

This is true, changes in PR-1 would need to be propagated ...

Do Stacked-PRs require re-review after merge?

I think that your way of breaking a feature apart is error ...

React Router not Working in Production

Hi, I think that you should consult with the official creat...

What are the cons of GraphQL?

I partially agree with most of what you said, but please ex...

What are the cons of GraphQL?

Queries can be more expensive to run - due to the multiple la...

I've joined Gatsby!

That's awesome! I'm a huge fan of Gatsby! (Even made a coup...

Comprehensive questionaire: Math role in programming

It really depends on the field and the exact thing you plan...

Feature Flags in React with Flagged

Nice article, thank you. I do a question - what benefit doe...

A guide to higher salary

Your advice is solid, however you presume that good develop...

I need to serve files from grapghql, is it possible?

Generally, GraphQL endpoints don't deal with binary data. A...

Anyone else intolerant of html inside javascript? yes i mean React

To me, "feels weird" in this context is more related to som...

Anyone else intolerant of html inside javascript? yes i mean React

It takes time to get used to. I've never tried Vue (althoug...

Anyone else intolerant of html inside javascript? yes i mean React

"feels weird" doesn't sound like a solid argument to me. I ...

Are comment sections useful/necessary for personal blogs?

Thank you! I'm working on adding more content to it.

Are comment sections useful/necessary for personal blogs?

I personally don't have, mostly because I haven't had the t...

It is good/ethic to use a template to create a new website?

It depends on what kinds of template you mean, and what is ...

Use CSS to automatically enable dark mode in your web app based on system settings

It's usually an OS setting you should turn on (e.g. chrome ...

Should we have a dev.to mobile app?

Dev is a PWA that you can install on your phone. But I like...

How to test a component independently

There are a number of options, depending on your specific n...

React is finally JavaScript

I disagree. I think over the years many JavaScript develope...

Should you use Medium or dev.to?

I didn't mention it, but I do have a blog of my own, so yea...

Should you use Medium or dev.to?

Good question. I don't have a clear answer, but it doesn't ...

Should you use Medium or dev.to?

I have a few posts published on both platforms, and I feel ...

Why you need the tap method

Thanks for the article. I don't fully understand the differ...

Working on some new freelance jobs with requirements of gatsby and react. Any tips, resources, hacks, blogs are appreciated.

The Gatsby docs is the only thing you need. It's so cohesiv...

Should I Use "Popular" Frameworks If I Prefer Something Else?

I agree. React and Vue are not the only options (just namin...

What was your win this week?

I've submitted 2 PRs to Gatsby, and they were both accepted...

What was your win this week?

I've deployed a really big feature I've worked on for almos...

Suggestions for a blogging platform

Gatsby is the way to go! You can use markdown, CMS, or pret...

What was your win this week?

😂 Yeah I really love dark theme. In the article I've publis...

What was your win this week?

Just do it! There are great starters for Gatsby and the com...

Building a Personal Blog

There wasn't one thing in particular. I glanced over their ...

Building a Personal Blog

Nothing in depth, but if it works for you that's great!

Building a Personal Blog

Thank you and you're welcome. What made you go with netlify...

What was your win this week?

Thank you very much!

Building a Personal Blog

Thank you!

What was your win this week?

I've launched my own blog 🥳🥳 dorshinar.me

Auto-reload for Nodejs with TypeScript

Thanks for the article, but as far as I know this is what's...

React state management. What should I use?

There's no one size fits all answer. It heavily depends on ...

Website Blogs!

I really like Gatsby.js (using it to build something of my ...

What is the worst advice for the newbie?

Don't rush into a big project. Often I see at work people a...

Webstorm or Vscode need some help here.

I see most people here gravitate towards VSCode, but I've a...

What does your team do when your communication channels go down?

We actually talk to each other. Really nice people, who wou...

styled-components and treat

It does look nice, but I don't really get the benefit over ...

What do you prefer: general all-in-one tools or focused single domain tools?

I think it heavily depends on the specific tool, and there'...

During PR review - do you check in into the branch?

To be honest no - I've never done that, nor have I seen som...

The Resignation Counter Offer and the Danger It Presents

If an employer would scam me into staying like that, I'd wa...

Catching bugs with stricter TypeScript

I'd cast the return value of getMessageIdFromSomeObscureLog...

Catching bugs with stricter TypeScript

Awesome stuff, I use typescript every day for this precise ...

Don't miss out on css variables

Great article, definitely learned something new here. I'm s...

Does Coding with Column Width of 80 Make Sense in 2021?

I agree that most screens today can handle 120 or even more...

The Importance Of Log Files

Great article. Logs are definitely important. I'd even say ...

Me: "I tested and it works, why do I have to write tests?"

I believe in learning from experience. If someone questions...

Why I've Stopped Writing Snapshots Tests in Jest

Yes exactly. Plus updating a snapshot solved all the proble...

Linting Your React+Typescript Project with ESLint and Prettier!

I'm sorry I didn't get a chance to look into your problem, ...

Is GraphQL the future of APIs?

I find the biggest down side to GraphQL to be the cachabili...

Is GraphQL the future of APIs?

I've been working on GraphQL based interfaces for the past ...

Why I've Stopped Writing Snapshots Tests in Jest

Amen! I agree with everything you've said. I think the most...

How do you feel about the "misuse" of HTTP methods?

I think that REST is not perfectly suitable for contemporar...

How do you name your tests?

Lately I've been writing mostly JS, and I am quite fond of ...

I am a Great Software Developer

😂 But in all fairness, I didn't really mean that. Nothing w...

Linting Your React+Typescript Project with ESLint and Prettier!

It looks really cool! I'll be sure to check it out when I g...

Linting Your React+Typescript Project with ESLint and Prettier!

I was actually referring to this issue. Dan Abramov seemed ...

Linting Your React+Typescript Project with ESLint and Prettier!

Thank you! I've looked into that a while ago. There's an is...

Linting Your React+Typescript Project with ESLint and Prettier!

Thank you very much! I'll be sure to check it.

loading...