Open in app

Sign In

Write

Sign In

Aashish Manandhar
Aashish Manandhar

179 Followers

Home

About

Published in Geek Culture

·Jun 8, 2021

Testing useEffect and Redux Hooks using Enzyme

Hi there! About two years ago I wrote a blog about testing React Function components with hooks using enzyme and here I am writing about the same with a new perspective. TLDR; Here I’ll let you know of a way that I learnt to test the lifecycle hooks such as…

Useeffect

6 min read

Testing useEffect and Redux Hooks using Enzyme
Testing useEffect and Redux Hooks using Enzyme
Useeffect

6 min read


May 19, 2021

How to efficiently write/code your presentation slides

Hi there! Yes! The answer is definitely yes! You read it right. I’m writing to tell you about an extremely efficient way of preparing your presentation slides and it doesn’t involve using Google Slides or Microsoft PowerPoint. Background ⏳ Before I jump into how, let me quickly delve into the why. So…

Marp

6 min read

How to efficiently write/code your presentation slides
How to efficiently write/code your presentation slides
Marp

6 min read


Aug 7, 2020

Connect to useDispatch and useSelector in Redux

If you’ve been using redux for years you’ve been familiar with the connect() Higher Order Component that jumbles up the flow of props in your code and makes you constantly scroll the page in order to understand whether the props in the component are actually just real props or something…

Redux

3 min read

Connect to useDispatch and useSelector in Redux
Connect to useDispatch and useSelector in Redux
Redux

3 min read


Published in The Startup

·May 28, 2020

Documenting your code should be done this way

A tip you could use to document your code efficiently — Preface Let’s start! I’m sure you’re here probably because at some point you have run into this problem of how you should be documenting a piece of code that you wrote. If you’re just documenting APIs the API docs like swagger would help but it doesn’t help in documenting the logic. It’s…

Mermaid

7 min read

Documenting your code should be done this way
Documenting your code should be done this way
Mermaid

7 min read


Feb 21, 2020

clip-path : An Awesome CSS Property You Should Be Using

Hey friend! You must have heard of the clip-path property in css. No? Then you might be in for a treat. If yes wouldn’t you agree that it’s quite awesome and I would assume you landed here wondering where you could use it in your application. …

Clip Path

4 min read

clip-path : An Awesome CSS Property You Should Be Using
clip-path : An Awesome CSS Property You Should Be Using
Clip Path

4 min read


Jun 11, 2019

Testing React Function Components with Hooks using Enzyme

A React Function Component is simply a function that returns a React element. With React 16.8 the most awaited feature, hooks was introduced which allowed for injecting state and lifecycle methods into stateless function components and make it stateful. …

Enzyme

8 min read

Testing React Function Components with Hooks using Enzyme
Testing React Function Components with Hooks using Enzyme
Enzyme

8 min read


Published in Devnetwork

·Jan 21, 2019

How I wrote a Single Page Chrome Extension

When you first hear about Chrome Extensions probably you’d think that it’s got to be written in C, C++, JAVA or some other language which seems overly ‘complicated’ for a newbie. But then when you figure out it’s just simply HTML5, CSS3 and Javascript you would probably think that it’s…

Java Script

8 min read

How I wrote a Single Page Chrome Extension
How I wrote a Single Page Chrome Extension
Java Script

8 min read


Jul 20, 2018

Sadhu: A cunning salesman of hope

So it was one of the few weekends that I have every year that I go out to have a haircut. After getting a haircut I expressed gratitude by saying thanks to the barber. I felt good because I saw a slight smile on his face when I said that…

Short Story

4 min read

Sadhu: A cunning salesman of hope
Sadhu: A cunning salesman of hope
Short Story

4 min read


May 4, 2018

Iniquitous Exile

I’m tired of setting myself on fire just to keep others warm. You never cared, not even a damn fuck though I meant no harm. Even though everything was in Chaos I tell you, I managed to stay calm. It’s not that I wanted something in return, but some insight would have been fine. I…

Literature

2 min read

Iniquitous Exile
Iniquitous Exile
Literature

2 min read


Published in Devnetwork

·Jan 8, 2018

Moving to promises and async/await from callbacks

Fetching the data in the web is an asynchronous task which is dreaded by many due to its a-synchronousness. Generally we have a tendency to write callbacks to handle asynchronous functions because it’s easier to write and understand. It might work when you have a few asynchronous functions to execute…

Java Script

6 min read

Moving to promises and async/await from callbacks
Moving to promises and async/await from callbacks
Java Script

6 min read

Aashish Manandhar

Aashish Manandhar

179 Followers

Just another guy who wants to make world a better place!

Following
  • Kailash Badu

    Kailash Badu

  • Sajal Dulal

    Sajal Dulal

  • Manzeel Uprety

    Manzeel Uprety

  • Nirdosh Gautam

    Nirdosh Gautam

  • Rajan Joshi

    Rajan Joshi

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech