Shreya Dahal Portrait

Shreya Dahal

Full-stack software engineer and open-source software enthusiast

@squgeim

Writing

Jun 2019

π™·πš˜πš  πš’πšœ πšπš‘πš’πšœ πš–πš˜πš—πš˜πšœπš™πšŠπšŒπšŽ?

I was scrolling through Stack Overflow's Job section and an entry caught my eye. The text looked like it was in a monospace font--but it wasn't. I went down a rabbit hole trying to figure out what was happening.

  • unicode
  • fonts
  • javascript
  • html
Jun 2018

Date-ing JavaScript

There have been some gotchas with working with Date in JavaScript that we’ve had to learn the hard way around. I’m hoping to blow your brains in a controlled manner now instead of having it blown later by a nasty bug.

  • javascript
  • date
  • gotchas
Mar 2018

Regrets in a 1-year-old React project

The JavaScript ecosystem has become scary. There are over 600,000 packages in NPM to choose from, with over 600 added every day, and the "best practices" are challenged and replaced by the hot new thing at an alarming rate.

It is natural to want to avoid jumping on every new thing and choose what is needed when starting a new project. That is what we did when we started out on a project.

These are the things we regret doing or not-doing from the get-go.

  • javascript-framework
  • redux
  • react
  • material-ui
Jan 2018

Unit Testing Recompose HOCs

I am a huge fan of recompose. It lets us write pure, functional, "dumb" components, by allowing us to dump all the logic inside any of the huge collection of HOCs it provides. It’s awesome.

I’ve been using this a lot and there’s this thing that has always been bugging me: how do you test them, properly?

  • javascript
  • react
  • unit-testing
  • recompose