Overture Rede21 open jobs

React JS Developer

FrontendPosted 5 weeks agovia Himalayas, a remote job board

Work type
RemoteIn India
Experience
5+ years
Pay
Not listedUsually ₹14 LPAFrontend, median at 5–9 years, in India (Payscale)
Posted
5 weeks ago
Before you apply: make your resume fit this job

Skills it mentions

Add your skills to see which ones you have.

Interview questions for this job6 with answers below, on React and JavaScript

About the job

This is a remote position.

Exp- Min. 5+yrs

Meeting with the development team to discuss user interface ideas and applications.
Reviewing application requirements and interface designs. Identifying web-based user interactions.
Developing and implementing highly responsive user interface components using react concepts.
Writing application interface codes using JavaScript following react.js workflows.
Troubleshooting interface software and debugging application codes. Developing and implementing front-end architecture to support user interface concepts. Monitoring and improving front-end performance. Documenting application changes and developing updates.

Originally posted on Himalayas

Interested?React JS Developer at Overture Rede

Apply on Himalayas (opens in a new tab)

The job ad ends here

Interview questions for this job6 with answers, on React and JavaScript

Interview questions for this job

For the skills the ad mentions: React and JavaScript.

820 questions
  • How to create components in React?React

    Components are the building blocks of creating User Interfaces(UI) in React. There are two possible ways to create a component.

    1. Function Components: This is the simplest way to create a component. Those are pure JavaScript functions that accept props object as the one and only one parameter and return React elements to render the output:

      function Greeting({ message }) {
        return <h1>{`Hello, ${message}`}</h1>;
      }
      
    2. Class Components: You can also use ES6 class to define a component. The above function component can be written as a class component:

      class Greeting extends React.Component {
        render() {
          return <h1>{`Hello, ${this.props.message}`}</h1>;
        }
      }
      

    From ReactJS Interview Questions & Answers (MIT)

  • What's the difference between a variable that is: null, undefined or undeclared? How would you go about checking for any of these states?JavaScript

    Undeclared variables are created when you assign a value to an identifier that is not previously created using var, let or const. Undeclared variables will be defined globally, outside of the current scope. In strict mode, a ReferenceError will be thrown when you try to assign to an undeclared variable. Undeclared variables are bad just like how global variables are bad. Avoid them at all cost! To check for them, wrap its usage in a try/catch block.

    function foo() {
      x = 1; // Throws a ReferenceError in strict mode
    }
    foo();
    console.log(x); // 1
    

    A variable that is undefined is a variable that has been declared, but not assigned a value. It is of type undefined. If a function does not return any value as the result of executing it is assigned to a variable, the variable also has the value of undefined. To check for it, compare using the strict equality (===) operator or typeof which will give the 'undefined' string. Note that you should not be using the abstract equality operator to check, as it will also return true if the value is null.

    var foo;
    console.log(foo); // undefined
    console.log(foo === undefined); // true
    console.log(typeof foo === 'undefined'); // true
    console.log(foo == null); // true. Wrong, don't use this to check!
    function bar() {}
    var baz = bar();
    console.log(baz); // undefined
    

    A variable that is null will have been explicitly assigned to the null value. It represents no value and is different from undefined in the sense that it has been explicitly assigned. To check for null, simply compare using the strict equality operator. Note that like the above, you should not be using the abstract equality operator (==) to check, as it will also return true if the value is undefined.

    var foo = null;
    console.log(foo === null); // true
    console.log(typeof foo === 'object'); // true
    console.log(foo == undefined); // true. Wrong, don't use this to check!
    

    As a personal habit, I never leave my variables undeclared or unassigned. I will explicitly assign null to them after declaring if I don't intend to use it yet. If you use a linter in your workflow, it will usually also be able to check that you are not referencing undeclared variables.

    From Front End Interview Handbook (MIT)

  • What is a switching component?React

    A switching component is a component that renders one of many components. We need to use object to map prop values to components.

    For example, a switching component to display different pages based on page prop:

    import HomePage from "./HomePage";
    import AboutPage from "./AboutPage";
    import ServicesPage from "./ServicesPage";
    import ContactPage from "./ContactPage";
    const PAGES = {
      home: HomePage,
      about: AboutPage,
      services: ServicesPage,
      contact: ContactPage,
    };
    const Page = (props) => {
      const Handler = PAGES[props.page] || ContactPage;
      return <Handler {...props} />;
    };
    // The keys of the PAGES object can be used in the prop types to catch dev-time errors.
    Page.propTypes = {
      page: PropTypes.oneOf(Object.keys(PAGES)).isRequired,
    };
    

    From ReactJS Interview Questions & Answers (MIT)

  • Which "href" value should I use for JavaScript links, "#" or "javascript:void(0)"?JavaScript

    I use javascript:void(0).

    Three reasons. Encouraging the use of # amongst a team of developers inevitably leads to some using the return value of the function called like this:

    function doSomething() {
        //Some code
        return false;
    }
    

    But then they forget to use return doSomething() in the onclick and just use doSomething().

    A second reason for avoiding # is that the final return false; will not execute if the called function throws an error. Hence the developers have to also remember to handle any error appropriately in the called function.

    A third reason is that there are cases where the onclick event property is assigned dynamically. I prefer to be able to call a function or assign it dynamically without having to code the function specifically for one method of attachment or another. Hence my onclick (or on anything) in HTML markup look like this:

    onclick="someFunc.call(this)"
    

    OR

    onclick="someFunc.apply(this, arguments)"
    

    Using javascript:void(0) avoids all of the above headaches, and I haven't found any examples of a downside.

    So if you're a lone developer then you can clearly make your own choice, but if you work as a team you have to either state:

    Use href="#", make sure onclick always contains return false; at the end, that any called function does not throw an error and if you attach a function dynamically to the onclick property make sure that as well as not throwing an error it returns false.

    OR

    Use href="javascript:void(0)"

    The second is clearly much easier to communicate.

    From Stack Overflow: asked by 2cBGj7vsfp, answered by AnthonyWJones (CC BY-SA 3.0)

  • What is the difference between React Native and React?React

    React is a JavaScript library, supporting both front-end web and being run on a server, for building user interfaces and web applications. It follows the concept of reusable components.

    React Native is a mobile framework that makes use of the JavaScript engine available on the host, allowing you to build mobile applications for different platforms (iOS, Android, and Windows Mobile) in JavaScript that allows you to use React to build reusable components and communicate with native components (further explanation).

    Both follow the JSX syntax extension of JavaScript. Which compiles to React.createElement calls under the hood. JSX in-depth.

    Both are open-sourced by Facebook.

    From Stack Overflow: asked by shiva kumar, answered by Nader Dabit (CC BY-SA 4.0)

  • What are your hobbies and interests?Behavioural

    Employers will want to get to know you and may ask things like:

    • what do you do in your spare time?
    • what are your hobbies and interests?

    Show what kind of personal qualities, interests and skills you have. For example, you could talk about:

    • cooking - to show you're organised and can follow instructions
    • travel - to show you're adventurous and flexible
    • team sports - to show you're a team player with good communication
    • music - to show you're creative

    If the job requires certain skills, you should demonstrate these in your examples.

    Example

    If it's a graphic designer role, you could talk about taking a desktop publishing course.

    From National Careers Service: interview advice (Open Government Licence v3.0)

Similar jobs

More like this: Frontend developer jobs in India (194) and Remote Frontend developer jobs in India (119)