Photon Interactive UK Limited72 open jobs

Lead React & NextUI Developer | Offshore |

FrontendPosted 6 weeks agovia Himalayas, a remote job board

Work type
RemoteIn India
Experience
Not stated
Pay
Not listedUsually ₹6.8 LPAFrontend, median, all levels, in India (Payscale)
Posted
6 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, JavaScript, SEO and 1 more

About the job

  • Lead Developer with Experience in FrontEnd Technologies and in specific to React & NextUI
  • Good understanding and Hands on in React.js, and its core principles - lifecycle methods, virtual DOM, etc.
  • Hands-on experience working with Accessible Rich Internet Applications (AIRA).
  • Hands-on experience on Search Engine Optimization (SEO).
  • Hands-on knowledge of HTML5, CSS3, JavaScript
  • Hands-on experience working with Object Oriented JavaScript (OOJS), JavaScript - and practical uses in building complex interactive experiences, primarily with ECMAScript 2015+.
  • You should be up to date with new specifications (different stages), and, using transposers like Babel to use features from all stages
  • Experience working with Single Page Applications (SPA) with universal rendering capabilities.
  • Understanding of tasteful (container) vs stateless (presentational) components and how to break down the application page into components
  • Core understanding of how React’s state management works out of the box.
  • Good Communication & Logical Abilities.

Originally posted on Himalayas

Interested?Lead React & NextUI Developer | Offshore | at Photon Interactive UK Limited

Apply on Himalayas (opens in a new tab)

The job ad ends here

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

Interview questions for this job

For the skills the ad mentions: React, JavaScript, SEO and HTML and CSS.

961 questions
  • Difference between npx and npmReact

    Introducing npx: an npm package runner

    NPM - Manages packages but doesn't make life easy executing any.
    NPX - A tool for executing Node packages.

    NPX comes bundled with NPM version 5.2+

    NPM by itself does not simply run any package. It doesn't run any package as a matter of fact. If you want to run a package using NPM, you must specify that package in your package.json file.

    When executables are installed via NPM packages, NPM links to them:

    1. local installs have "links" created at ./node_modules/.bin/ directory.

    2. global installs have "links" created from the global bin/ directory (e.g. /usr/local/bin) on Linux or at %AppData%/npm on Windows.

    Documentation you should read

    NPM:

    One might install a package locally on a certain project:

    npm install some-package
    

    Now let's say you want NodeJS to execute that package from the command line:

    $ some-package
    

    The above will fail. Only globally installed packages can be executed by typing their name only.

    To fix this, and have it run, you must type the local path:

    $ ./node_modules/.bin/some-package
    

    You can technically run a locally installed package by editing your package.json file and adding that package in the scripts section:

    {
      "name": "whatever",
      "version": "1.0.0",
      "scripts": {
        "some-package": "some-package"
      }
    }
    

    Then run the script using npm run-script (or npm run):

    npm run some-package
    

    NPX:

    npx will check whether <command> exists in $PATH, or in the local project binaries, and execute it. So, for the above example, if you wish to execute the locally-installed package some-package all you need to do is type:

    npx some-package
    

    Another major advantage of npx is the ability to execute a package which wasn't previously installed:

    $ npx create-react-app my-app
    

    The above example will generate a react app boilerplate within the path the command had run in, and ensures that you always use the latest version of a generator or build tool without having to upgrade each time you’re about to use it.

    Use-Case Example:

    npx command may be helpful in the script section of a package.json file, when it is unwanted to define a dependency which might not be commonly used or any other reason:

    "scripts": {
        "start": "npx gulp@3.9.1",
        "serve": "npx http-server"
    }
    

    Call with: npm run serve

    Related questions:

    1. How to use package installed locally in node_modules?
    2. NPM: how to source ./node_modules/.bin folder?
    3. How do you run a js file using npm scripts?

    From Stack Overflow: asked by Paresh Maniyar, answered by vsync (CC BY-SA 4.0)

  • Which equals operator (== vs ===) should be used in JavaScript comparisons?JavaScript

    The strict equality operator (===) behaves identically to the abstract equality operator (==) except no type conversion is done, and the types must be the same to be considered equal.

    Reference: JavaScript Tutorial: Comparison Operators

    The == operator will compare for equality after doing any necessary type conversions. The === operator will not do the conversion, so if two values are not the same type === will simply return false. Both are equally quick.

    To quote Douglas Crockford's excellent JavaScript: The Good Parts,

    JavaScript has two sets of equality operators: === and !==, and their evil twins == and !=. The good ones work the way you would expect. If the two operands are of the same type and have the same value, then === produces true and !== produces false. The evil twins do the right thing when the operands are of the same type, but if they are of different types, they attempt to coerce the values. The rules by which they do that are complicated and unmemorable. These are some of the interesting cases:

    '' == '0'           // false
    0 == ''             // true
    0 == '0'            // true
    
    false == 'false'    // false
    false == '0'        // true
    
    false == undefined  // false
    false == null       // false
    null == undefined   // true
    
    ' \t\r\n ' == 0     // true
    

    The lack of transitivity is alarming. My advice is to never use the evil twins. Instead, always use === and !==. All of the comparisons just shown produce false with the === operator.

    Update

    A good point was brought up by @Casebash in the comments and in @Phillipe Laybaert's answer concerning objects. For objects, == and === act consistently with one another (except in a special case).

    var a = [1,2,3];
    var b = [1,2,3];
    var c = { x: 1, y: 2 };
    var d = { x: 1, y: 2 };
    var e = "text";
    var f = "te" + "xt";
    a == b            // false
    a === b           // false
    c == d            // false
    c === d           // false
    e == f            // true
    e === f           // true
    

    The special case is when you compare a primitive with an object that evaluates to the same primitive, due to its toString or valueOf method. For example, consider the comparison of a string primitive with a string object created using the String constructor.

    "abc" == new String("abc")    // true
    "abc" === new String("abc")   // false
    

    Here the == operator is checking the values of the two objects and returning true, but the === is seeing that they're not the same type and returning false. Which one is correct? That really depends on what you're trying to compare. My advice is to bypass the question entirely and just don't use the String constructor to create string objects from string literals.

    Reference
    https://262.ecma-international.org/5.1/#sec-11.9.3

    From Stack Overflow: asked by bcasp, answered by Bill the Lizard (CC BY-SA 4.0)

  • How should I structure my URLs for both SEO and localization?SEO

    There are many acceptable ways to structure your site for both SEO and internationalization. Each have advantages and disadvantages.

    Top Level Domains

    Buy the same domain name at multiple top level country domains like example.com, example.es and example.de.

    Advantages

    • Fully supported by Google. You can add the sites to Google Webmaster Tools where there are options to tell Google about how they are targeted.
    • Often preferred by users who tend to like content published on the TLD for their country
    • The domain name itself can be localized. Many international users may react badly to English words or an English sounding domain name. This can be especially important for languages that do not use a Latin alphabet.
    • Supports localization by country. You can have separate sites like example.co.uk and example.com.au targeted at audiences in different countries. The sites may have duplicate content with slight spelling differences and still rank well. In fact, multiple well localized sites in the same language may rank better than a single site in that language.
    • Hosting can be localized by pointing DNS to a web server in the country being targeted.

    Disadvantages

    • Expensive and time consuming to buy many domains. Especially if you have to deal with squatters.
    • Cookies cannot be shared across multiple locales, meaning that users have to log in separately to each site.
    • No good option for localizing only by language since many languages have multiple countries and no country TLD may be the language code. Even in cases where the TLD does match the language code like es, search engines may assume that the site is only appropriate for users from Spain, not for all Spanish speakers.

    Sub-domains

    Buy a single domain, and use sub-domains such as en.example.com, and es.example.com

    Advantages

    • Fully supported by Google.
    • Supports localization by country or by language.
    • Hosting can be localized by pointing DNS to a web server located close to users.
    • Easy and cheap to implement compared to buying multiple domains.
    • Cookies can be shared across all locales, enabling single sign on for a more seamless user experience.

    Disadvantages

    • No opportunity to localize the domain name itself
    • May look less local to users compared to a top level domain.

    Sub-directories

    Buy a single domain, and use sub-directories such as example.com/en/, and example.com/es/

    Advantages and Disadvantages

    • The same as sub-domains, except that there is one DNS entry which precludes hosting your site in multiple countries for different locales.

    Techniques that are NOT recommended

    Read the rest at the sourceFrom Webmasters Stack Exchange: asked by artlung, answered by Stephen Ostermiller (CC BY-SA 3.0)

  • Can I hide the HTML5 number input’s spin box?HTML and CSS

    This CSS effectively hides the spin-button for webkit browsers (have tested it in Chrome 7.0.517.44 and Safari Version 5.0.2 (6533.18.5)):

    input::-webkit-outer-spin-button,
    input::-webkit-inner-spin-button {
        /* display: none; <- Crashes Chrome on hover */
        -webkit-appearance: none;
        margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
    }
    input[type=number] {
        -moz-appearance:textfield; /* Firefox */
    }
    <input type="number" step="0.01" />

    You can always use the inspector (webkit, possibly Firebug for Firefox) to look for matched CSS properties for the elements you are interested in, look for Pseudo elements. This image shows results for an input element type="number":

    From Stack Overflow: asked by Alan, answered by antonj (CC BY-SA 4.0)

  • How does React work?React

    React creates a virtual DOM. When state changes in a component it firstly runs a diffing algorithm, which identifies what has changed in the virtual DOM. The second step is reconciliation, where it updates the DOM with the results of diff.

    From React Interview Questions (MIT)

  • Why do you think you're a good fit for our company?Behavioural

    Employers want to see that you have a genuine interest in working for them by asking questions like:

    • what do you know about our company?
    • why do you think you're a good fit for our company?
    • why do you want to work for us?

    To prepare for questions about the employer, you need to research the company. You should look at their website and 'about us' pages to find out more about their products, services and values.

    Show what you've learned about the company throughout the interview.

    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)