ReactNative Developer
MobilePosted 7 weeks agovia Himalayas, a remote job board
- Work type
- RemoteIn India
- Experience
- Not stated
- Pay
- Not listedUsually ₹7.0 LPAMobile, median, all levels, in India (Payscale)
- Posted
- 7 weeks ago
Skills it mentions
Add your skills to see which ones you have.
About the job
Roles and Responsibilities:
- Assure good quality of code, best practices being followed and mentor junior programmers.
Skills Required:
- Can work as individual contributor in agile team. Strong fundamentals, Solid principles, exposure to best practices in performance and security.
- Mentor junior programmers.
Primary Skills:
- Javascript,React Native, Redux, , Design Patterns
Secondary Skills:
- Unit Testing, HTML/CSS, CI/CD
Work Location:
- Anywhere in India. Should be open to move to Bangalore within a year as / if required
Originally posted on Himalayas
Interested?ReactNative Developer at Supersourcing
Apply on Himalayas (opens in a new tab)The job ad ends here
Interview questions for this job6 with answers, on HTML and CSS, JavaScript, React Native and 2 more
Interview questions for this job
For the skills the ad mentions: HTML and CSS, JavaScript, React Native, Redux and CI/CD.
What is the difference between canvas and SVG?HTML and CSS
Canvas is raster-based, working with pixels, while SVG is vector-based, employing mathematical descriptions of shapes. Canvas employs imperative drawing, where each step is specified with JavaScript, ideal for dynamic and interactive graphics like animations and games.
Conversely, SVG uses declarative drawing, with shapes and paths defined directly in HTML, making it more accessible and SEO-friendly. Canvas is optimal for complex scenes due to its lower overhead, but scaling may lead to image quality loss. SVG, being resolution-independent, adapts to various screen sizes without sacrificing quality.
Ultimately, canvas suits dynamic, performance-intensive graphics, while SVG excels in scalable, resolution-independent graphics, with inherent accessibility and SEO advantages.
From Front End Interview Handbook (MIT)
What is event-driven programming?JavaScriptAdvanced
Event-driven programming is a paradigm that involves building applications that send and receive events. When the program emits events, the program responds by running any callback functions that are registered to that event and context, passing in associated data to the function. With this pattern, events can be emitted into the wild without throwing errors even if no functions are subscribed to it.
A common example of this is the pattern of elements listening to DOM events such as
clickandmouseenter, where a callback function is run when the event occurs.document.addEventListener("click", function(event) { // This callback function is run when the user // clicks on the document. })Without the context of the DOM, the pattern may look like this:
const hub = createEventHub() hub.on("message", function(data) { console.log(`${data.username} said ${data.text}`) }) hub.emit("message", { username: "John", text: "Hello?" })With this implementation,
onis the way to subscribe to an event, whileemitis the way to publish the event.Good to hear
- Follows a publish-subscribe pattern.
- Responds to events that occur by running any callback functions subscribed to the event.
- Show how to create a simple pub-sub implementation with JavaScript.
From 30 seconds of interviews (MIT)
Hide keyboard in react-nativeReact Native
The problem with keyboard not dismissing gets more severe if you have
keyboardType='numeric', as there is no way to dismiss it.Replacing View with ScrollView is not a correct solution, as if you have multiple
textInputs orbuttons, tapping on them while the keyboard is up will only dismiss the keyboard.Correct way is to encapsulate View with
TouchableWithoutFeedbackand callingKeyboard.dismiss()EDIT: You can now use
ScrollViewwithkeyboardShouldPersistTaps='handled'to only dismiss the keyboard when the tap is not handled by the children (ie. tapping on other textInputs or buttons)If you have
<View style={{flex: 1}}> <TextInput keyboardType='numeric'/> </View>Change it to
<ScrollView contentContainerStyle={{flexGrow: 1}} keyboardShouldPersistTaps='handled' > <TextInput keyboardType='numeric'/> </ScrollView>or
import {Keyboard} from 'react-native' <TouchableWithoutFeedback onPress={Keyboard.dismiss} accessible={false}> <View style={{flex: 1}}> <TextInput keyboardType='numeric'/> </View> </TouchableWithoutFeedback>EDIT: You can also create a Higher Order Component to dismiss the keyboard.
import React from 'react'; import { TouchableWithoutFeedback, Keyboard, View } from 'react-native'; const DismissKeyboardHOC = (Comp) => { return ({ children, ...props }) => ( <TouchableWithoutFeedback onPress={Keyboard.dismiss} accessible={false}> <Comp {...props}> {children} </Comp> </TouchableWithoutFeedback> ); }; const DismissKeyboardView = DismissKeyboardHOC(View)Simply use it like this
... render() { <DismissKeyboardView> <TextInput keyboardType='numeric'/> </DismissKeyboardView> }NOTE: the
accessible={false}is required to make the input form continue to be accessible through VoiceOver. Visually impaired people will thank you!From Stack Overflow: asked by TurboFish, answered by Eric Kim (CC BY-SA 4.0)
What is the best way to redirect a page using React Router?Redux
Actually it depends on your use case.
1) You want to protect your route from unauthorized users
If that is the case you can use the component called
<Redirect />and can implement the following logic:import React from 'react' import { Redirect } from 'react-router-dom' const ProtectedComponent = () => { if (authFails) return <Redirect to='/login' /> } return <div> My Protected Component </div> }Keep in mind that if you want
<Redirect />to work the way you expect, you should place it inside of your component's render method so that it should eventually be considered as a DOM element, otherwise it won't work.2) You want to redirect after a certain action (let's say after creating an item)
In that case you can use history:
myFunction() { addSomeStuff(data).then(() => { this.props.history.push('/path') }).catch((error) => { console.log(error) })or
myFunction() { addSomeStuff() this.props.history.push('/path') }In order to have access to history, you can wrap your component with an HOC called
withRouter. When you wrap your component with it, it passesmatchlocationandhistoryprops. For more detail please have a look at the official documentation for withRouter.If your component is a child of a
<Route />component, i.e. if it is something like<Route path='/path' component={myComponent} />, you don't have to wrap your component withwithRouter, because<Route />passesmatch,location, andhistoryto its child.3) Redirect after clicking some element
There are two options here. You can use
history.push()by passing it to anonClickevent:<div onClick={this.props.history.push('/path')}> some stuff </div>or you can use a
<Link />component:<Link to='/path' > some stuff </Link>I think the rule of thumb with this case is to try to use
<Link />first, I suppose especially because of performance.From Stack Overflow: asked by Liutong Chen, answered by Cagri Yardimci (CC BY-SA 4.0)
What is a deployment strategy?CI/CD
A deployment strategy defines how new application versions are rolled out to users. It focuses on availability, rollback capability, and risk control.
Different strategies balance speed and safety in different ways, allowing teams to align deployment behaviour with business priorities and system criticality.
From Tech Vault (Apache 2.0)
Do you have any weaknesses?Behavioural
You should be honest when answering questions on your weaknesses. Say how you're working to improve them.
ExampleQuestion - "Do you have any weaknesses?"
Answer - "I struggle with time management on projects. To make sure I stick to the time frame I'm creating a timetable of steps at the start of each project".
From National Careers Service: interview advice (Open Government Licence v3.0)
Similar jobs
- Flutter DeveloperHivex, Remote, worldwideToday
- Senior Software Engineer-iOSAir Arabia, Pune, on-site2 days ago
- Custom Software EngineerAccenture, Pune, Bengaluru +4, on-site2 days ago
- Staff Engineer, MobileHealthie, Remote, worldwide2 days ago
More like this: Mobile developer jobs in India (195) and Remote Mobile developer jobs in India (112)



