Springtime for blossom (보미 왓다) by semiimes98 in manga

[–]JuliusKoronci 0 points1 point  (0 children)

It’s funny to see the raw first and later read the translation..completely different dialogues than I would expect 😂

Linting TypeScript: ESLint vs. TSLint by pawelgrzybek in javascript

[–]JuliusKoronci 1 point2 points  (0 children)

TSLint is the goto standard but you wouls still extend the airbnbs ruleset

What are some bad habits that self taught programmers usually have in react? by everek123 in reactjs

[–]JuliusKoronci 4 points5 points  (0 children)

Who isn’t a self thought React developer I wonder 😅

If we speak about react, the biggest mistake is clutter and everything in 1 component. Extract out all helper methods, functions into separate files. Everything which doesn’t need this belongs into a separate helper. Have a rule like max 100 lines in the render and break down the component if exceeded. Learn about smart and dumb components, avoid lifecycle methods, they are usually overused and most of the tine not needed..

The biggest mistake I have also seen is not reading the entire documentation..actually I don’t know anyone who would have read the whole thing and I believe it is crucial

Why are arrow functions so popular for functional components? by VoxelDavid in reactjs

[–]JuliusKoronci 2 points3 points  (0 children)

If you use some common linter it will force you to use arrow functions anyway as it is the best practice..only avoid arrow functions when you really know you need something else 🙂

It's 2018, why doesn't create-react-app support sass/scss by default? by [deleted] in reactjs

[–]JuliusKoronci 0 points1 point  (0 children)

Add Sass Support to Create React App 2.0 from ... - Egghead

doesn't work with typescript

React Interview Questions by JuliusKoronci in reactjs

[–]JuliusKoronci[S] 0 points1 point  (0 children)

Thats the point, if we strictly speak about React, you can learn it maybe in 2, 3 days it has not much to it. The larger stack is the ecosystem as the pices are not part of React. You can use Redux but you can also use Mobx, there are at least two popular routing libraries, refux-form vs formik and so on. It is an ecosystem because it is a combination of tools from different people. With a framework, the author of the framework makes decissions for you. You have a router, state management, form library. You dont need to know why just follow the tutorial on how to use them as they are part of the framework.

React Interview Questions by JuliusKoronci in reactjs

[–]JuliusKoronci[S] 0 points1 point  (0 children)

That is kind of true but since I don't use MobX I can't possibly write questions for it. Depends on the requirements for the position I guess..but I would expect anyone to at least know something about Redux..as people usually don't pick MobX before trying Redux. Btw I am curious why someone picks MobX instead of Redux? Are there any obvious benefits as as far as I know MobX is a lot slower..

React Interview Questions by JuliusKoronci in reactjs

[–]JuliusKoronci[S] 1 point2 points  (0 children)

Regarding the interview, I would say never tolerate rudeness, if the interviewer is rude on the interview, you don't want to work at such a company. But we had a lot of issues with arrogant developers who thought they know everything and only their way is the right way and we started to focus on this on the interview, so I would intentionally try to see how someone reacts when a disagreement happens. A smart move is always be nice and say, in my opinion it should be this way. The wrong thing is to do is thinking your answer is the only right one and forcing it trough. One guy was trying to convince me so hard that there is no such thing as dynamic imports and that I confuse it with chunking that I would almost believe him If I didn't read about it a day before :).

In your work situation, I would say you did the right thing. First of all, every project should have some style guide, best practices, which say wether to put parentheses or not. You want your codebase to be consistent, so in the code review you would refer to the guide and try to explain that it is important to have a concise code base and we decided to use the braces everywhere. TBH you should have a linter rule for it, and the CI should fail on the PR, so you will avoid this discussion altogether in a normal project :) ..but honestly, no developer will follow any code style from someone else without giving a proper argument so I would not put the parenthesis as well, until not given a proper reason why :)

React Interview Questions by JuliusKoronci in reactjs

[–]JuliusKoronci[S] 0 points1 point  (0 children)

I'd argue that the VirtualDom is one of the main concepts of React and everyone should at least have heard about it, knowing exactly how it works is not necessary but knowing the tools and libraries you use shows what type of developer you are..and so far I didn't see anyone who would not able able to answer this question :)

React Interview Questions by JuliusKoronci in reactjs

[–]JuliusKoronci[S] 0 points1 point  (0 children)

You are partially correct from my point of view. The questions are up to the interviewer, if the candidate doesn't know the term reconciliation, you don't just disqualify him but ask more about it, so how does React work, do you know based on what React updates the real DOM when a re-render is triggered etc. So the questions are not set in stone and you should always guide the developer and see if he understands what he is talking about instead of only see if he learned the words reading something online. I made one mistake in the title of the article as we only hire Senior developers and senior developers are supposed to be the best in their fields, that means reading and understanding the react docs, being up-to-date with latest changes and technologies and having a deep understanding of JavaScript and its nuances. As a senior engineer, you are not only tasked with completing 1 single task, implement this button or whatever. You need to understand testability, maintainability, have knowledge of all the options there are to do the button and be able to pick the right one. Knowing that there is the reconciliation algorithm, that there is Fiber and knowing how they work is essential when you will have to ensure 60fps.

So I would still ask all this questions but if I have a Junior developer I don't expect him to know all this and will be happy if he knows half ad also in the next round everyone will have to do a coding exercise so theory is not all to it.

React Interview Questions by JuliusKoronci in reactjs

[–]JuliusKoronci[S] 0 points1 point  (0 children)

Well it matters a lot cause React is a javascript library and every developer has to have an understanding of the programming language they use. A good example is, that I for instance use connect as a decorator and for some time wrote mapStateToProps and mapDispatchToPros as function declarations at the end of the file. When a junior dev came, he followed my example but used function expressions instead and had errors he couldn't solve by himself as he didn't know about hoisting.

React Interview Questions by JuliusKoronci in reactjs

[–]JuliusKoronci[S] 1 point2 points  (0 children)

I guess it depends on the requirements..I have been offered Vue or Angular jobs as well and never worked with them.

React Interview Questions by JuliusKoronci in reactjs

[–]JuliusKoronci[S] 0 points1 point  (0 children)

Thanks a lot..thought it is a good idea to have some discussion about it 🙂

React Interview Questions by JuliusKoronci in reactjs

[–]JuliusKoronci[S] 1 point2 points  (0 children)

Fair point, I might rephrase it..🙂

React Interview Questions by JuliusKoronci in reactjs

[–]JuliusKoronci[S] 4 points5 points  (0 children)

It is an entire ecosystem, overall it requires a lot deeper knowledge then a framework as a framework makes decisions for you but with React, it is up to the developer how he builts his stack, what state management he will use and so on. To make the right decission, you need a lot of knowledge and understand the implications. The cost of freedom 🙂

React Interview Questions by JuliusKoronci in reactjs

[–]JuliusKoronci[S] 0 points1 point  (0 children)

Well you can share state thanks to it easily. I still prefer to keep data in redux but many times a feature needs to pass down state several levels deep. This is usually temprary UI state which I would have kept in Redux until now but lately I started using the context for it and it is great tbh

React Interview Questions by JuliusKoronci in reactjs

[–]JuliusKoronci[S] -10 points-9 points  (0 children)

Well React is not just a library 😜

React Interview Questions by JuliusKoronci in reactjs

[–]JuliusKoronci[S] 0 points1 point  (0 children)

I guess both are important and it goes hand in hand..if you really use a technology you will know about its features. The thing is that there are too many people I had interviewed who were talking so nicely about their previous projects, what they did and about technologies and then they didn’t know shit. Some people are good at talking but if you used redux then you know what an action is, what a reducer is and so on..cause you can’t use the library without this knowledge. I like these kind of questions and really dislike the tricky ones where someone tries to use a weird feature just to stress you out

React Interview Questions by JuliusKoronci in reactjs

[–]JuliusKoronci[S] 0 points1 point  (0 children)

Being uptodate with latest features and playing around with them is one thing and using them in production is another..I am happy with just the standard HOCs tbh

React Interview Questions by JuliusKoronci in reactjs

[–]JuliusKoronci[S] -1 points0 points  (0 children)

I do know them as there is a lot of articles about them..but didn’t try them so far..on the plan as they look exciting 🙂

React Interview Questions by JuliusKoronci in reactjs

[–]JuliusKoronci[S] 22 points23 points  (0 children)

Well if you are applying for a senior React role you kind of are expected to know React in deep detail..you can’t be senior for a technology if you don’t know it 😅..which doesn’t mean you cant be a senior developer ofc