Karan Singh (@dev_karan01) header
Karan Singh (@dev_karan01) profile picture

Backend Developer FinTech | AI/ML

Saturn
Joined July 2022
Replying to @RailMadad
@RailMadad @railcomplaint @drmpune @Railmadadseva @IRCTCofficial @irctc_app @RailMinIndia @AshwiniVaishnaw Train No : 05533 Train Name: DBG-HDP-SPL Train is running late by 15+ hr Please understand there are small children also in it. Currently heading towards MMR.
2
1
83
Replying to @RailMinIndia
@RailMinIndia @IRCTCofficial @eCateringIRCTC @AshwiniVaishnaw Local vendor selling Tabcoo products and Cigarette ( Somking Product ) Few people buying and using it also Request you take strict action. Train No : 01037 LTT-RXL SPL Currently heading towards STA.
1
270
Replying to @Zingoorr
Apke Liye 😂
9
Sunday Morning in Pune
1
1
35
Replying to @cinamarina
Even @Copilot do the same
172
In rush for payment Which should I click first @GooglePay and @Copilot
1
34
Replying to @saidotdev
Sorry, But my co-pilot is still more intelligent than Claude
2
18
2,814
The mistake I made: I thought the fundamentals as “boring.” But fundamentals aren’t boring — they’re the difference between blindly copying code and truly understanding code. You can’t build advanced React apps on shaky JavaScript foundations. Strengthen the base first, and everything else falls into place with ease. For JavaScript and TypeScript especially. 𝗧𝗵𝗲 𝟳 𝗳𝘂𝗻𝗱𝗮𝗺𝗲𝗻𝘁𝗮𝗹𝘀 𝘁𝗵𝗮𝘁 𝗰𝗵𝗮𝗻𝗴𝗲𝗱 𝗲𝘃𝗲𝗿𝘆𝘁𝗵𝗶𝗻𝗴: -> Closures — Why variables sometimes “disappear”. -> Event Loop — Why apps freeze (and how to fix it). -> Prototypes — How JavaScript really works under the hood. -> Hoisting — Why code breaks in production but works locally. -> Async/Await — Why API calls fail silently Scope. -> Chain — Why functions can’t find variables. -> Reference vs Value — Why state updates don’t work
39
The mistake I made: I thought the fundamentals as “boring.” But fundamentals aren’t boring — they’re the difference between blindly copying code and truly understanding code. You can’t build advanced React apps on shaky JavaScript foundations. Strengthen the base first, and everything else falls into place with ease. For JavaScript and TypeScript especially. 𝗧𝗵𝗲 𝟳 𝗳𝘂𝗻𝗱𝗮𝗺𝗲𝗻𝘁𝗮𝗹𝘀 𝘁𝗵𝗮𝘁 𝗰𝗵𝗮𝗻𝗴𝗲𝗱 𝗲𝘃𝗲𝗿𝘆𝘁𝗵𝗶𝗻𝗴: -> Closures — Why variables sometimes “disappear”. -> Event Loop — Why apps freeze (and how to fix it). -> Prototypes — How JavaScript really works under the hood. -> Hoisting — Why code breaks in production but works locally. -> Async/Await — Why API calls fail silently Scope. -> Chain — Why functions can’t find variables. -> Reference vs Value — Why state updates don’t work
🤖 Made with AI
1
150
React Series : Web accessibility Question : How do you ensure your web application is accessible ? Approach : Discuss key Principles and practices for web accessibility. Answer : To ensure web accessibility, follow WCAG guidlines and use semantic HTML elements for structure, ARIA roles for enhanced semantics, ensure keyboard navigability, provide alt text for images, and ensure contrast ratios are sufficient for readability. Testing with screen readers and using accessibility audit tools can help identify and address issues.
134
React Series : Web accessibility Question : How do you ensure your web application is accessible ? Approach : Discuss key Principles and practices for web accessibility. Answer : To ensure web accessibility, follow WCAG guidlines and use semantic HTML elements for structure, ARIA roles for enhanced semantics, ensure keyboard navigability, provide alt text for images, and ensure contrast ratios are sufficient for readability. Testing with screen readers and using accessibility audit tools can help identify and address issues.
35
React Series : Web accessibility Question : How do you ensure your web application is accessible ? Approach : Discuss key Principles and practices for web accessibility. Answer : To ensure web accessibility, follow WCAG guidlines and use semantic HTML elements for structure, ARIA roles for enhanced semantics, ensure keyboard navigability, provide alt text for images, and ensure contrast ratios are sufficient for readability. Testing with screen readers and using accessibility audit tools can help identify and address issues.
43
React Series : Event Delegation Question : Explain event delegation and it's advantages. Approach : Describe the concept and it's practical uses. Answer : Event Delegation is a technique where instead of adding an event listener to a parent element. It leverages the event bubbling phase to catch events from the child elements. Advantages include reduce memory usage ( fewer event listener ) and dynamically handling events from elements added after the intial page load.
72
React Series : Single Page Application (SPA) SEO Challenges Question : What are the SEO Challenges with SPAs and how can they be addressed ? Approach : Identify key SEO issues with SPAs and Solutions. Answer : SPAs often struggle with SEO as content is dynamically loaded, making it hard for search engine crawlers to index. Solutions include server-side rendering (SSR), using the history API to update URLs for different views, and leveraging pre-rendering services or static site generators.
25
React Series CORS Question : What is CORS and how do you handle it in Web applications ? Approach : Explain CORS concept and solutions for common issues. Answer : CORS is a security feature that restricts web applications from making requests to a domain different from the one which served the web page. To handle it, configure the server to include CORS header like Access-Control-Allow-Origin in the response, Specifying which domains are allowed to access the resources.
67
React Series : React Component Lifecycle. Question: Describe the lifestyle of a React component and how you would use it to fetch data. Approach : Detail the cycle phases and appropriate methods for data fetching. Answer: constructor (), Render(), componentDidMount(), shouldComponentUpdate(), componentDidUpdate(), and componentDidMount() for class components or useRffect() hook in functional components to perform side effects, including data fetching after the initial render.
16