Needs advice
on
ReactReact
and
Vue.jsVue.js

From a StackShare Community member: “My company has a Back Office Dashboard that was originally built in AngularJS 1. We are looking to upgrade it. I hear a lot about React and Vue.js, but not sure which one to pick."

READ LESS
5 upvotes·373.5K views
Replies (19)
The Elegant Monkeys·
Recommends
on
Vue.js
at
()

For developing our #frontend applications, we decided to use Vue.js . Being such an easy to learn library, compared to React for example, it made everything so easy. At first we started with Polymer but the existing tooling and small community at the time made us look for alternatives.

READ MORE
6 upvotes·91.1K views
Senior Software Engineer at JOOR·
Recommends
on
React
in

I decided to focus on React as my main #frontend framework. It's lightweight and as near to JavaScript as a framework can be. It allows me to follow most of the standards and good practices. It helps me to use new methodologies like #componentization or #CssInJs. It has a rich ecosystem of tools and libraries and clearly is the main web framework nowadays.

READ MORE
17 upvotes·4 comments·12.7K views
Muhammad Tayyab Razzaq
Muhammad Tayyab Razzaq
·
June 12th 2019 at 8:00AM

which option have you chosen for 'CssInJS', 'JSS' or 'Styled-Components' ?

·
Reply
Gustavo Muñoz
Gustavo Muñoz
·
June 12th 2019 at 9:19AM

I have chosen the Styled Components option. I find it more natural to use and easy to learn, mostly coming from Sass. Migrations of your old Sass styles looks easier too. And you have a clean separation between the component styled and the functional component.

·
Reply
Muhammad Tayyab Razzaq
Muhammad Tayyab Razzaq
·
June 12th 2019 at 9:50AM

yeah, but won't it be an overburden to wrap every component or even a simple <div> tag which needs styling?

·
Reply
Gustavo Muñoz
Gustavo Muñoz
·
June 12th 2019 at 10:39AM

As I understand it, you need an HTML element to apply styles to it, so at the end, you have a "div" with styles wrapped inside another component that implements the behavior of the group. Even if the wrapper returns an only component (the styled one), you can use a "fragment" to return only the "div" of the styled component. Imagine the case with a button that has the "handleClick" logic that renders a fragment with a "StyledButton" component that receives the "handleClick" method trough properties. It's like having a normal button but styled. But correct me if I'm wrong.

·
Reply
View all (19)
Avatar of Ido Shamun

Ido Shamun

The Elegant Monkeys