Meet “all at once”, React Boilerplate from Maximilian Stoiber v3.6.0

The build react-boilerplate recently, 06/26/2018, has been updated to version 3.6.0. This assembly is more than three years old, but, standing out against the background of many others (more than 18 thousand Stars GitHub), it was almost never seen on Habré. What is its feature? In short - the assembly offers the developer "all at once"!

First about the sad


First, a little about sad things. The value of starting assemblies for react-projects is simply huge. As you know, React itself is just a library that implements the presentation level and in order to create a full-fledged application, many other libraries will need to be applied, since the React ecosystem offers quite a few of them. For this reason, the configuration of the React project is a serious problem whose solution to an individual developer is extremely difficult to find. Dan Abramov himself understands this perfectly well, stating: “The configuration should not stand in the way of getting started”. And offers a solution - Create React App . In this starting build, which gained significant popularity (more than 51 thousand Stars GitHub), the authors tried to protect the developer from configuration issues as much as possible, hiding the default configuration, cutting the set of modules to a minimum, allowing for automatic generation of components, thereby creating a feeling of simplicity and ease of developing react-applications. Moreover, they, on the basis of the same message, offer their own list of recommended assemblies. The approach may be good for attracting newbies, but quickly exhausting itself with its limitations and configuration issues, the use of the best modules, best practices still need to be addressed. And how to be , for example, a developer who is developing his first react-project?


There is an exit


The react-boilerplate assembly is an alternative approach to solving a problem and offers “all at once”. This is a set of modules that are de facto recognized as standard and tested in work, a set that uses best practices in project organization, including with regard to scalability and performance, and technologies are introduced that help the programmer quickly develop and debug code.

The developers of the assembly position it as highly scalable, “offline-first” (once loaded, the application works in offline mode), taking into account the experience of the best developers, aimed at high performance and built taking into account the “best practice”, strong, “production ready”, battle-proven basis for developing a react-application.


Applicable Libraries


More about the modules used:



Scalability and performance


The assembly consistently introduced the principles of support for scalability and increased performance, detailed by the developer of the Max Stoiber assembly in his lecture “Scaling ReactJS Applications” and Dan Abramov in the lecture “Components of presentation and components-containers” .


In particular, these principles include:



Coding, debugging, testing


The assembly provides ample opportunity to assist the programmer in writing and debugging code:


Command line


The assembly provides, as already mentioned, a set of commands for the command line, which implements many of the features a developer needs, including:



Is there something extra?


If you decide that you do not need any modules, you can remove them and the assembly will help you with your instructions ( here and here ).


It seemed to you that something is missing?


Additional features provided by the assembly:



Documentation


The assembly is well documented , and, for example, even contains a section on solving possible problems .


Updates, bugs


The project is regularly updated, promptly responding to changes in its constituent modules (last updated on 06/26/2018), actively solves problems : for example, 1367 resolved on 11.08.2018 and 967 problems are in the process of being solved.


So?


So, the assembly provides an excellent example of a full-fledged configuration of the React project, creates conditions for the programmer to speed up writing and debugging code, offers examples of the implementation of best practices used in the development of highly scalable and productive applications.


And in conclusion - a message from the author of the assembly Maximilian Stoiber and his team:

“If you need a solid, battle-proven foundation for building your next superfood, and you have some experience with React, this is the perfect option for you!”

Source: https://habr.com/ru/post/416859/


All Articles