Software development & products building.
Building
https://t.co/6gunD0Qyt3
Built
@tweetflick_app(acq)
@peekletters(failed)
@fabpic_app
@billsplitapp
Sep 26, 2021 β’ 12 tweets β’ 4 min read
ReactJS Interview (QnA) Thread π§΅
π Part - 70
#reactjs#interview1. Is it ref argument available for all functions or class components?
Regular function or class components donβt receive the ref argument, and ref is not available in props either. The second ref argument only exists when you define a component with React.forwardRef call.
A Consumer is a React component that subscribes to context changes. It requires a function as a child which receives current context value as argument and returns a react node.
Sep 24, 2021 β’ 6 tweets β’ 3 min read
Do you want to stand out in a job interview? Learn Git.
Git is an essential tool for developers. Every team is using some kind of version control system and Git is the most commonly used.
I collected for you a few tools to help you learn Git.
A Thread π§΅π
1. Git and Git-flow cheat sheet.
#reactjs#interview
1 . What is the purpose of default value in context?
The defaultValue argument is only used when a component does not have a matching Provider above it in the tree. This can be helpful for testing components in isolation without wrapping them.