loading...
Cover image for Tell me what confuses you the most about JS / TS / React / functional programming and I will write a full length article for you

Tell me what confuses you the most about JS / TS / React / functional programming and I will write a full length article for you

mpodlasin profile image Mateusz Podlasin ・1 min read

Hi!

I am Mateusz, front-end developer from Poland with 4+ years of experience in JavaScript, TypeScript, React and functional programming.

I recently started writing articles here on DEV. I try to write simple tutorials with lots of examples, while at the same time explaining the topics deeply and exhaustively.

But, as a bit more seasoned programmer, I don't really know which topics bother newcomers the most.

You can ask me anything about JavaScript, TypeScript, React and functional programming and I will write a full length article specifically about your problem, for free.

What is most difficult for you to understand?

Which topic still isn't covered well online?

What needs clearer explanation?

When I was learning, online resources helped me a lot, so this time I want to give back!

Thanks in advance and see you soon!

(Cover Photo by Toa Heftiba on Unsplash)

Posted on by:

mpodlasin profile

Mateusz Podlasin

@mpodlasin

I write in-depth articles about JavaScript, React and functional programming.

Discussion

pic
Editor guide
 

I would love an introduction to some of the libraries that are used in FP-style programming in JS, such as lodash/fp and Ramda, the pros and cons of them, and how they are used in the industry. Thanks!

 

State management in React, coming from Vuex.

 

Hey Pacharapol!

I am not sure if that's what you had in mind, but I wrote an article about the state management in React from my point of vue... I mean view!

I hope you will enjoy it!

dev.to/mpodlasin/my-thoughts-on-en...

 

I am used to Vuex, but not yet to React ecosystem.

 

Browser APIs and DOM manipulation really make me scratch my head. I'd love an in-depth article on these two.

 

I will see what I can do!

 

Hi Mateusz, I'd love to know why we should or shouldn't be using Immutable js.

 

I also heard of Immer js, I don't know of this is related, but it looks interesting!
(along with useImmer, a custom react hook for using Immer)

 

Hi Mateusz, I would like to know when the while loops are to be used instead of the for loops. Thanks

 

For loops loop over something a defined number of times. A while loop is able to run an undefined number of times until a condition is met.

const array = new Array(10);

for (let i = 0; i < array.length; i++) {
  // This will always run 10 times
  console.log(i);
};
function main() {
  let state = false;

  // This will loop a random number of times until that condition is met
  while (!state) {
    const ranNum = generateRandomNumber();
    if (ranNum === 5) {
      state = true;
    }
  }
};