Programming

Programming

How to manage global data with Context API, without Redux on React

How do you manage global data on React? I used to use Redux for that, however, I currently use Context API for that purpose and I don't even install redux and redux-related packages!

Read
Programming

Step-by-step: How I make my npm package conformable to TypeScript?

Last time we made an NPM package with JavaScript. BUT, there is one problem. We can not use it with TypeScript projects out of the box because there is no type definition file and TS project can’t know any types of this NPM package.

Read
Programming

Step-by-step: How I published my first npm package

I thought making and publishing an NPM package isn’t easy. Actually, it’s so easy! Your package doesn’t have to be very tricky, unique, and awesome. You can publish your favorite utility code and install it on your project with npm or yarn command. All I want to say is…it’s not complicated. We can do it!

Read