Whether to impose landing on react.js?

Need to layout a landing page which has a form with fields from the material.ui and some logic.
How best to typeset the whole page to give reactor or just a form that needs it.
March 19th 20 at 09:01
3 answers
March 19th 20 at 09:03
Solution
Whether to impose landing on react.js?

Not worth it.

or just a form that needs it.

Trust is not needed.
In my case needs, as I will use ready-made components for autocomplete. - Doyle_Feest62 commented on March 19th 20 at 09:06
@Doyle_Feest62, there is a view autocomplete form data user or data about the product/service?
The first is supported by the native. Second - a couple of lines of code. To drag in Lindos a bunch of dependencies for a simple form is not the best solution. - Hailee.Hills25 commented on March 19th 20 at 09:09
Themes, plus the behavior of fields in materially. Do the same fields in jquery, for example, is quite difficult. - Doyle_Feest62 commented on March 19th 20 at 09:12
@Doyle_Feest62, in addition to the Material UI is a CSS framework with the implement of similar shape. And you can use SASS source files and add only the necessary implementation.

Do the same fields in jquery, for example, is quite difficult.

To make such fields fairly quickly and easily. And JQuery for this use is not required. - Hailee.Hills25 commented on March 19th 20 at 09:15
And why not just angular 2? - Brant.Weima commented on March 19th 20 at 09:18
March 19th 20 at 09:05
No.
March 19th 20 at 09:07
Not worth it. As well as the form does not need reacte. Reakt need to work with the DOM tree, to effectively redraw a large number of dom elements, it makes no sense to use it for the form.
What is the logic for handling actions in the form of a better to write than to connect for the sake of this react and matherialui
The fact that you must implement the field as material, there are ready-made components. Doing the same thing in jquery, as I understand it, is a chore. So I think to use react as a library to draw only the form. - Doyle_Feest62 commented on March 19th 20 at 09:10
@Doyle_Feest62why jquery field as the matherial ui can be created in half an hour, add the logic on native js too long. - luella.Hal commented on March 19th 20 at 09:13
@Doyle_Feest62why this react and jQuery? jQuery is generally better to forget.
Here need a bit of scss and a couple of lines of js - Brant.Weima commented on March 19th 20 at 09:16
I decided that I would no react, but with jquery, as I use the plugin on it. - Doyle_Feest62 commented on March 19th 20 at 09:19
@Doyle_Feest62why this plugin? Why pull unnecessary dependencies and in the case of jQuery still and heavy?
All you need is es6 and webpack - Brant.Weima commented on March 19th 20 at 09:22
@Doyle_Feest62, moreover, with the next version then the bootstrap will be without jQuery. Why deal with necromancy if all was created for that jQuery knows how es6 normal processed Babel? - Brant.Weima commented on March 19th 20 at 09:25
@Brant.Weima, Yes, I agree. I have babel and used the collector, but while hands do not reach to rewrite the plugin, but it's only for jquery is. The habit of using jquery, it is necessary to wean. - Doyle_Feest62 commented on March 19th 20 at 09:28
@Doyle_Feest62why the plugin? It is not needed for your task.
There are all in all there are approximately 150 lines of native js code is already sent to the North, validations and material - Brant.Weima commented on March 19th 20 at 09:31
@Brant.WeimaUsed dadata, connect the prompts for input fields. - Doyle_Feest62 commented on March 19th 20 at 09:34
@Doyle_Feest62, why not do it by hand? I have the students do which js see once you life - Brant.Weima commented on March 19th 20 at 09:37
Who said not to do it manually? Or you read between the lines? - Doyle_Feest62 commented on March 19th 20 at 09:40

Find more questions by tags ReactLayout