Pearls in Front end development
Be happy in front of people who don’t like you, it kills them.
CSS Style related
NormalizeStyles
Normalize.css makes browsers render all elements more consistently and in line with modern standards. It precisely targets only the styles that need normalizing.
import NormalizeStyles from './NormalizeStyles';
const App = () => (
<Fragment>
<NormalizeStyles />
<BaseStyles />
<Toast />
<Routes />
</Fragment>
);
Lodash: Awesome helper library
import _ from "lodash";
if (!_.isEmpty(res)) {
_.isEqual(current, next) ? current : next;
–End–