Organizing your react componentsI'm not sure how much this matters in the era where generative AI writes code for you. However, still I embark upon this journey hoping this will help someone write better react code. Why you should organize your react components React itselft is uno...Mar 22, 2024·4 min read
Micro Frontends: not a silver bulletAn imaginary story, where micro frontends failedAug 2, 2021·4 min read
Express Middlewares and Higher Order Functions, part 2Warning! We're going to see some Functional Programming concepts like pure functions, side effects etc. and obviously higher order functions. Recap In the last post, we saw how we can create a middleware wrapper that can wrap any function and make i...Jun 29, 2021·5 min read
Express middlewares and Higher Order FunctionsLike I said in the first post of the series, Express is all about middlewares. So, here's the problem statement Problem Statement Can we create a middleware out of any function, so that developers don't have to worry about the tricky syntax and tes...Jun 28, 2021·2 min read
Express routes with Builder patternIn the last post, we were creating a common interface for creating express routes, thereby improving reusability. We now want to take it up a notch. How about having some fun with Builder Pattern, using plain old Javascript Functions. Creating expre...Jun 26, 2021·2 min read
Routes in ExpressIt all started with a piece of code that I saw while reviewing an express based application. ... and it wasn't something that I was seeing for at the first time. I've seen applications like this since long back, almost all applications generated wit...Jun 24, 2021·3 min read