Punith1117

Results 9 comments of Punith1117

@MaoShizhong Thank you for suggesting the changes to be made. That makes it more clear and simpler. I will commit and push the changes soon.

> > React now prefers the default parameter approach for function components and as of React 19, defaultProps will no longer work in function components. You may still see them...

Actually, this would require a lot of refactoring rather than just tweaking a sentence since the article directs the readers to "do things" by mentioning terms like setting up, typing...

Even if it's only about defaultProps, the code snippet given there doesn't work since it's a functional component and not a class component.

Thanks @wise-king-sullyman for assigning me the task. ![Image](https://github.com/user-attachments/assets/a965a9b9-d99d-48bd-8408-955f2064658f) I would also like to add that it's been asked to use this type checking in the shopping-cart project.

" ## Note: propTypes and defaultProps are discontinued from React version 19. Please use React versions lesser than 19 to follow this lesson. ## This can be done by: -...

@typies I faced the same exact problem. I tried a lot to figure out what was wrong. When I asked the same in discord, @GaneshS288 told me that it was...

@wise-king-sullyman Sorry about that. I am still new to contributing. Thanks for pointing it out! I'll create a PR shortly.