Setup CSS Module With React, Webpack, and SCSS
As we often compare Angular with React, one of the thing that I like about Angular is the style encapsulation that we assign to components. Here is how we can achieve that with React.
I speak JS, Python, C#. I live in the Cloud.
As we often compare Angular with React, one of the thing that I like about Angular is the style encapsulation that we assign to components. Here is how we can achieve that with React.
For small TypeScript-based project, here is the setup to get easy linting with TypeScript using TS Standard Style (though this can also be used for any other TS Style)
When you work with NodeJS projects, you will realize that you need multiple versions of NodeJS and NPM (and their respective Global modules) to run and test different projects, maybe least two(2) major versions. I propose the following solution to deal with this issue.
This a short explanation of the usage of refs
in React.
When you need to have Apache and NodeJS to work in coordination, this setting allows a specific root route (e.g. /nodeapp
) on a mainly Apache Server to be redirected and handled by a NodeJS microserver instance instead.
I initially published this post on Codepen but basically, this is how we do easy vertical alignement in the DOM using Flexbox.
This is a short hierarchy summary of the access modifiers in C#.NET, from most restricted to least restricted.
In this post, I explain how I got to setup ESLint with create-react-app
(CRA) in Visual Studio Code, without ejecting!
As the post title suggests, this is my first post for my Github pages. My intent with this page is to keep it as a very simple side blog for my programming activities.