Hivex33 open jobs

Middle React Developer

FrontendPosted 5 weeks agovia Himalayas, a remote job board

Work type
RemoteOpen worldwide
Experience
3+ years
Pay
Not listed
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, JavaScript, HTML and CSS and 2 more

About the job

We are looking for a talented and experienced Frontend (React) Developer to join our creative team and contribute to the development of cutting-edge solutions that align with our commitment to excellence.

Requirements:

  • 3+ years of experience as a Frontend Developer with a focus on React.js

  • Strong proficiency in JavaScript/TypeScript.

  • Experience with state management libraries such as Redux or MobX

  • Solid understanding of front-end technologies, including HTML5, CSS3, and responsive design.

  • Knowledge of version control systems (e.g., Git).

  • Advanced English level

  • Excellent problem-solving and communication skills.

  • Ability to work both independently and collaboratively in a team environment.

    

Will be a plus:

  • Experience with ​​browser optimizations

  • Experience with parsing, rendering large pdf files(JavaScript pdf libraries)

    

What we offer:

  • Remote job with the freedom to work from anywhere in the world.

  • Flexible work schedule tailored to your life and work needs.

  • Competitive and timely salary.

  • Opportunities for professional growth and development.

  • The chance to gain experience in various fields and participate in exciting projects.
  • Your ideas and initiatives are always welcome and valued.



Originally posted on Himalayas

Interested?Middle React Developer at Hivex

Apply on Himalayas (opens in a new tab)

The job ad ends here

Interview questions for this job6 with answers, on React, JavaScript, HTML and CSS and 2 more

Interview questions for this job

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

1,015 questions
  • What is the difference between using constructor vs getInitialState in React / React Native?React

    The two approaches are not interchangeable. You should initialize state in the constructor when using ES6 classes, and define the getInitialState method when using React.createClass.

    See the official React doc on the subject of ES6 classes.

    class MyComponent extends React.Component {
      constructor(props) {
        super(props);
        this.state = { /* initial state */ };
      }
    }
    

    is equivalent to

    var MyComponent = React.createClass({
      getInitialState() {
        return { /* initial state */ };
      },
    });
    

    Note that in the constructor, you should always assign to this.state directly, and that's the only place where this is allowed; You should use this.setState(...) everywhere else.

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

  • Have you ever used JavaScript templating? If so, what libraries have you used?JavaScript

    Yes. Handlebars, Underscore, Lodash, AngularJS, and JSX. I disliked templating in AngularJS because it made heavy use of strings in the directives and typos would go uncaught. JSX is my new favorite as it is closer to JavaScript and there is barely any syntax to learn. Nowadays, you can even use ES2015 template string literals as a quick way for creating templates without relying on third-party code.

    const template = `<div>My name is: ${name}</div>`;
    

    However, do be aware of a potential XSS in the above approach as the contents are not escaped for you, unlike in templating libraries.

    From Front End Interview Handbook (MIT)

  • How do you serve a page with content in multiple languages?HTML and CSS

    I will assume that it is asking about the most common case, which is how to serve a page with content available in multiple languages, but the content within the page should be displayed only in one consistent language.

    When an HTTP request is made to a server, the requesting user agent usually sends information about language preferences, such as in the Accept-Language header. The server can then use this information to return a version of the document in the appropriate language if such an alternative is available. The returned HTML document should also declare the lang attribute in the <html> tag, such as <html lang="en">...</html>.

    Of course this is useless for letting a search engine know that the same content is available in different languages, and so you must also make use of the hreflang attribute in the <head>. Eg. <link rel="alternate" hreflang="de" href="http://de.example.com/page.html" />

    In the back end, the HTML markup will contain i18n placeholders and content for the specific language stored in YML or JSON formats. The server then dynamically generates the HTML page with content in that particular language, usually with the help of a back end framework.

    From Front End Interview Handbook (MIT)

  • 'unknown' vs. 'any'TypeScript

    You can read more about unknown in the PR or the RC announcement, but the gist of it is:

    [..] unknown which is the type-safe counterpart of any. Anything is assignable to unknown, but unknown isn't assignable to anything but itself and any without a type assertion or a control flow based narrowing. Likewise, no operations are permitted on an unknown without first asserting or narrowing to a more specific type.

    A few examples:

    let vAny: any = 10;          // We can assign anything to any
    let vUnknown: unknown =  10; // We can assign anything to unknown just like any 
    let s1: string = vAny;     // Any is assignable to anything 
    let s2: string = vUnknown; // Invalid; we can't assign vUnknown to any other type (without an explicit assertion)
    vAny.method();     // Ok; anything goes with any
    vUnknown.method(); // Not ok; we don't know anything about this variable
    

    The suggested usage is:

    There are often times where we want to describe the least-capable type in TypeScript. This is useful for APIs that want to signal “this can be any value, so you must perform some type of checking before you use it”. This forces users to safely introspect returned values.

    From Stack Overflow: asked by Jac Mos, answered by Titian Cernicova-Dragomir (CC BY-SA 4.0)

  • Where to write to localStorage in a Redux app?Redux

    Reducer is never an appropriate place to do this because reducers should be pure and have no side effects.

    I would recommend just doing it in a subscriber:

    store.subscribe(() => {
      // persist your state
    })
    

    Before creating the store, read those persisted parts:

    const persistedState = // ...
    const store = createStore(reducer, persistedState)
    

    If you use combineReducers() you’ll notice that reducers that haven’t received the state will “boot up” as normal using their default state argument value. This can be pretty handy.

    It is advisable that you debounce your subscriber so you don’t write to localStorage too fast, or you’ll have performance problems.

    Finally, you can create a middleware that encapsulates that as an alternative, but I’d start with a subscriber because it’s a simpler solution and does the job well.

    From Stack Overflow: asked by Marco de Jongh, answered by Dan Abramov (CC BY-SA 3.0)

  • What are your main strengths?Behavioural

    The strengths employers look for will depend on the job role. They may ask you questions like:

    • what are your main strengths?
    • why should we hire you?

    You can use specific examples to highlight your strengths, such as:

    • communication - to show you get on with others
    • problem solving - to show that you can find solutions
    • enthusiasm - to show that you have a positive attitude to work
    • flexibility - to show that you can adapt to different ways of working

    Plan your answers around 2 or 3 examples that are relevant to the job. You can back these up with qualifications or training you've done.

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