S
S
smartbe2020-02-18 17:38:52
JavaScript
smartbe, 2020-02-18 17:38:52

Does the JS application framework apply to React?

Hello! Now I'm studying building applications on pure JS.

Question. In pure JS, the application is implemented through modules. UI module, data structure module, controller module. How relevant is this in frameworks?

I would like to understand how to hone this model. Because I heard that in REACT + REDUX this is implemented differently. Or ignore these modules and go straight to REACT?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Roman Alexandrovich, 2020-02-18
@smartbe

knowledge in pure js is important, but you can miss building the project structure. in a bunch of REACT + REDUX, there is usually a different structure.

T
twolegs, 2020-02-18
@twolegs

React is only the View layer of the application, so you can organize the rest of the logic however you want. Just because react+redux is the most popular stack doesn't mean it's the only right architecture.
It is quite possible to implement a classic MVC application using React on the frontend. But here, again, one should proceed from the application itself. If it is simple enough, extra abstractions may be useless.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question