D
D
Dmitry Ivchenkov2020-07-05 18:30:53
React
Dmitry Ivchenkov, 2020-07-05 18:30:53

What modern library stack is used for enterprise (large or medium) react applications?

I know that there is a whole echelon of b2b projects, a product line and so on.
Many commercial projects go under nda, closed source. Therefore, it will not work to see how sagas are written there, where a hook is used or what turns into HOKs.

I'm interested in how things are with projects where quality is more important than speed. That is, tests are included)

I want to understand what things are often used in general, so as not to lose relevance, because. Now I have to work with vue.
How often do you come across certain libraries? For example, thunk, saga, reselect?
I would also like to consider specific things like chart.js or d3.js. What is it used for?

Found an article about this on medium: Enterprise React in 2020. This is the experience of one person, how relevant is it? I heard the opinion several times that sagas are not needed. Others say that without sagas, everything is very difficult to test (tests that frontends write).

That article does not mention a storybook, which makes it very easy to work with an already written library of components for a project.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Egor Zhivagin, 2020-07-06
@Dzmitryj_Black

How to define a large application or an average one xs, this is for astrologers, probably
Only from my own experience:
Redux is in the vast majority of projects, Mobx is still perceived as exotic, although it is quite common. Very rarely, but I have seen projects exclusively on Context Api
. Hooks are slowly taking over the enterprise, but in most projects they are still not used. Probably will.
redux-thunk, alas, in the vast majority of projects. There are sagas, but much less frequently. Those who have used Sagas for a while usually don't give up on them anymore :) In general, if someone says that a popular tool is not needed, they probably don't fumble a lot and haven't tried to use it
If someone in the project is worried about optimizing work with the store, it is most likely that reselect is used
where and why chart.js and d3.js are used, you can search in Google.
For unit tests, they usually use jest + something else, but everyone has it differently.
With styles in general, a complete zoo, styled components/css modules/sass/less/stylus/... Even a pure css
Storybook is a great thing, but does not occur very often. IMHO, it is more for libraries than for projects

C
camelCaseVlad, 2020-07-05
@camelCaseVlad

React has a huge ecosystem, the architect / service station chooses the stack in the enterprise. Whether sagas are needed or not, or what anyone heard where, does not make any sense. You come to work they say the stack sit down and saw)))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question