React (Three.js) developer
FrontendPosted 5 weeks agovia Himalayas, a remote job board
- Work type
- RemoteOpen worldwide
- Experience
- 5+ years
- Pay
- Not listed
- Posted
- 5 weeks ago
Skills it mentions
Add your skills to see which ones you have.
About the job
We are looking for a talented and experienced React (Three.js) Developer to join our innovative team and help develop cutting-edge mobile solutions that align with our commitment to excellence.
Requirements:
- 3.5+ years of professional experience in web development with a strong focus on React.js
- Proficiency in Three.js for creating 3D graphics and visualizations
- Experience with state management libraries (such as Redux)
- Solid understanding of web technologies
- Familiarity with version control systems such as Git
- Strong problem-solving skills and the ability to work independently or as part of a team
- Excellent communication skills and a collaborative mindset
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?React (Three.js) 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 and Redux
Interview questions for this job
For the skills the ad mentions: React and Redux.
What is the impact of indexes as keys?React
Keys should be stable, predictable, and unique so that React can keep track of elements.
In the below code snippet each element's key will be based on ordering, rather than tied to the data that is being represented. This limits the optimizations that React can do and creates confusing bugs in the application.
{ todos.map((todo, index) => <Todo {...todo} key={index} />); }If you use element data for unique key, assuming
todo.idis unique to this list and stable, React would be able to reorder elements without needing to reevaluate them as much.{ todos.map((todo) => <Todo {...todo} key={todo.id} />); }Note: If you don't specify
keyprop at all, React will use index as a key's value while iterating over an array of data.From ReactJS Interview Questions & Answers (MIT)
Why are Redux state functions called reducers?Redux
Reducers always return the accumulation of the state (based on all previous and current actions). Therefore, they act as a reducer of state. Each time a Redux reducer is called, the state and action are passed as parameters. This state is then reduced (or accumulated) based on the action, and then the next state is returned. You could reduce a collection of actions and an initial state (of the store) on which to perform these actions to get the resulting final state.
From ReactJS Interview Questions & Answers (MIT)
What is JSX?React
JSX stands for JavaScript XML and it is an XML-like syntax extension to ECMAScript. Basically it just provides the syntactic sugar for the
React.createElement(type, props, ...children)function, giving us expressiveness of JavaScript along with HTML like template syntax.In the example below, the text inside
<h1>tag is returned as JavaScript function to the render function.export default function App() { return <h1 className="greeting">{"Hello, this is a JSX Code!"}</h1>; }If you don't use JSX syntax then the respective JavaScript code should be written as below,
import { createElement } from "react"; export default function App() { return createElement( "h1", { className: "greeting" }, "Hello, this is a JSX Code!" ); }See Class
class App extends React.Component { render() { return <h1 className="greeting">{"Hello, this is a JSX Code!"}</h1>; } }Note: JSX is stricter than HTML
From ReactJS Interview Questions & Answers (MIT)
What is the difference between
mapStateToProps()andmapDispatchToProps()?ReduxmapStateToProps()is a utility which helps your component get updated state (which is updated by some other components):const mapStateToProps = (state) => { return { todos: getVisibleTodos(state.todos, state.visibilityFilter), }; };mapDispatchToProps()is a utility which will help your component to fire an action event (dispatching action which may cause change of application state):const mapDispatchToProps = (dispatch) => { return { onTodoClick: (id) => { dispatch(toggleTodo(id)); }, }; };It is recommended to always use the “object shorthand” form for the
mapDispatchToProps.Redux wraps it in another function that looks like (…args) => dispatch(onTodoClick(…args)), and pass that wrapper function as a prop to your component.
const mapDispatchToProps = { onTodoClick, };From ReactJS Interview Questions & Answers (MIT)
What are props in React?React
_Props_ are inputs to components. They are single values or objects containing a set of values that are passed to components on creation similar to HTML-tag attributes. Here, the data is passed down from a parent component to a child component. The primary purpose of props in React is to provide following component functionality: 1. Pass custom data to your component. 2. Trigger state changes. 3. Use via `this.props.reactProp` inside component's `render()` method. For example, let us create an element with `reactProp` property: ```jsx harmony <Element reactProp={"1"} /> ``` This `reactProp` (or whatever you came up with) attribute name then becomes a property attached to React's native props object which originally already exists on all components created using React library. ```jsx harmony props.reactProp; ``` For example, the usage of props in function component looks like below: ```jsx import React from "react"; import ReactDOM from "react-dom"; const ChildComponent = (props) => { return ( <div> <p>{props.name}</p> <p>{props.age}</p> <p>{props.gender}</p> </div> ); }; const ParentComponent = () => { return ( <div> <ChildComponent name="John" age="30" gender="male" /> <ChildComponent name="Mary" age="25" geneder="female" /> </div> ); }; ```The properties from props object can be accessed directly using destructing feature from ES6 (ECMAScript 2015). It is also possible to fallback to default value when the prop value is not specified. The above child component can be simplified like below.
const ChildComponent = ({ name, age, gender = "male" }) => { return ( <div> <p>{name}</p> <p>{age}</p> <p>{gender}</p> </div> ); };Note: The default value won't be used if you pass
nullor0value. i.e, default value is only used if the prop value is missed orundefinedvalue has been passed.See Class The Props accessed in Class Based Component as below
import React from "react"; import ReactDOM from "react-dom"; class ChildComponent extends React.Component { render() { return ( <div> <p>{this.props.name}</p> <p>{this.props.age}</p> <p>{this.props.gender}</p> </div> ); } } class ParentComponent extends React.Component { render() { return ( <div> <ChildComponent name="John" age="30" gender="male" /> <ChildComponent name="Mary" age="25" gender="female" /> </div> ); } }From ReactJS Interview Questions & Answers (MIT)
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)
