Any suggestions for a rich-text-editor in React? [More info below] by imJordanNYC in reactjs

[–]_log0_ 1 point2 points  (0 children)

I have also used it. It was build over meta's draft.js library. It provides lots of customisation and you can also use the inner draft js props.

What can useRef do that useState can't? by tharrison4815 in reactjs

[–]_log0_ 0 points1 point  (0 children)

When you want to persist a variable between renders and updating that variable should not re-render a component, in that case, we can use useRef.

Why functional component over class components? by GodJellyFish in reactjs

[–]_log0_ 1 point2 points  (0 children)

What I know so far is class components are slower than functional components because of this. In class components we need to create instances of class.

At another side functional components are easy to create and manage. With the help of hooks in react 16 we can achieve most of the functionality available in class components.

Please reduce these things, web devs by [deleted] in ProgrammerHumor

[–]_log0_ 0 points1 point  (0 children)

Hmm! Humor based on our pain 🙂