B
B
BB 82018-05-04 19:26:47
JavaScript
BB 8, 2018-05-04 19:26:47

Do I need to know the DOM for react?

Good evening, I am finishing my JS and I plan to take up react from next week. As far as I know, react has its own environment (virtual home, rjsx, etc., etc.), do I need to know the native DOM ? Or the React "ecosystem" has its own methods for accessing elements, etc. etc. ?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Interface, 2018-05-04
@fruity4pie

You need to understand that react-DOM is based on the same regular browser DOM. React provides an abstraction to it, but you'll still end up working with the most basic DOM. And its knowledge (at least) will allow you to understand the fundamental limitations of the platform. What can be done, what cannot be done, etc. In my opinion, it is worth being able to work at least a little with the real DOM.
Plus there is a nuance: the react was created to solve some problem. If you don't encounter it, you'll probably find it harder to understand why react exists.

J
Jumandjilos, 2018-05-04
@Jumandjilos

I'll tell you more, before you take on any framework, you need to know JS itself, because. if you don’t know how it works in JS, then, accordingly, you won’t understand the work of the framework, with jquery this can still work, but it’s almost impossible to master other frameworks without understanding JS

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question