How to Name Your React Components: Conventions That Stick πŸš€

Naming your React components is an art 🎨 and a science πŸ§ͺ. The right name not only explains what a component does but also keeps your code clean, scalable, and easy to read. Let’s nail this together! πŸ’ͺ 1. Use PascalCase 🏷️ React components are named in PascalCase (e.g., MyComponent). It’s the universal standard, and … Read more How to Name Your React Components: Conventions That Stick πŸš€

Ruby on Rails : Callbacks V/S Observers

Observers 🧐 Observer lives longer.It can be attached & detached at any time.It is used when method is not directly associated to life cycle of Active Record objects.If you want to create observer with command-line you need to add gem first because without observer gem you couldn’t run any observer generator command so first add … Read more Ruby on Rails : Callbacks V/S Observers