"Mr Branding" is a blog based on RSS for everything related to website branding and website design, it collects its posts from many sites in order to facilitate the updating to the latest technology.
To suggest any source, please contact me: Taha.baba@consultant.com
Monday, October 2, 2017
Facebook Advertising Cost: Everything You Need to Know
[ This is a content summary only. Visit our website http://ift.tt/1b4YgHQ for full links, other content, and more! ]
by Web Desk via Digital Information World
7 Ways To Produce More & Work Less #Infographic
[ This is a content summary only. Visit our website http://ift.tt/1b4YgHQ for full links, other content, and more! ]
by Web Desk via Digital Information World
ResizeEnd – Custom jQuery Event for Window Resize-End
ResizeEnd is a jQuery plugin that allows for window resize-end event handling.
by via jQuery-Plugins.net RSS Feed
Web Design Weekly #293
Headlines
CSS is not real programming
As someone who has spent the last 6 years in CSS land, reading negative articles about CSS can be a little disheartening. Thankfully we have people like Christian Heilmann in our community to try and put those people back on the right path. (christianheilmann.com)
Relicensing React, Jest, Flow, and Immutable.js (code.facebook.com)
Articles
5 things CSS developers wish they knew before they started
Andrés Galante shares a list of things he wish he had known at the beginning of his development career. (css-tricks.com)
eBay’s Font Loading Strategy
A look into the process and implementation of how the engineering team at eBay handles custom fonts. (ebaytechblog.com)
Understanding the critical rendering path
Luis Vieira offers some solid advice on optimising the critical rendering path. (medium.com)
Building the DOM faster
Understanding what goes on inside a browser is the most powerful tool for every web developer. In this article Milica Mihajlija looks at how browsers interpret your code and how they help you load pages faster with speculative parsing. (hacks.mozilla.org)
Tracking compensation and promotion inequity (larahogan.me)
Tools / Resources
Size Limit
A tool to prevent JavaScript library bloat. With it, you know exactly for how many kilobytes your JS library increases the user bundle. (evilmartians.com)
Deploying ES2015+ Code in Production Today
Philip Walton shares some great advice on how we can utilise the new script type “module” to ship ES2015+ code to our users without shipping unnecessary code. (philipwalton.com)
The Web Developer Bootcamp
The only course you need to learn web development- HTML, CSS, JS, Node, and more! (udemy.com)
Styled Systems
Design system utilities for styled-components and other CSS in JS libraries (github.com)
A series of typographic system and variable font demonstration (rwt.io)
Start Your Engines – Firefox Quantum Lands in Beta (blog.mozilla.org)
A Modern JavaScript Cheatsheet (github.com)
Big new Enzyme release (github.com)
React v16.0 (facebook.github.io)
Inspiration
Short Trip
An hand-drawn, interactive illustration about a tram driver, mountains, cloaked cats and everything in between. (alexanderperrin.com.au)
The road to styled components, and the road ahead (youtube.com)
Things I Didn’t Learn In Design School (medium.com)
Jobs
Senior Brand Designer at Strava
We are seeking an innovative, strategic and multidisciplinary Senior Designer for a full-time position. The ideal candidate has strong communication skills, the ability to work in a fast-paced environment, and a meticulous attention to detail. (strava.com.com)
CatalystUX Designer
CatalystUX is seeking a full-time, multi-disciplined, UX designer who is capable of designing complicated enterprise applications. All applicants must have an extensive Dribbble account, a natural drive to solve difficult UX challenges and a yearning to create software that helps others. (catalystux.com)
Need to find passionate developers or designers? Why not advertise in the next newsletter
Last but not least…
Super quick overview of some React 16 features (egghead.io)
The post Web Design Weekly #293 appeared first on Web Design Weekly.
by Jake Bresnehan via Web Design Weekly
15+ Best Presentation Software Alternatives to PowerPoint (of 2017)
[ This is a content summary only. Visit our website http://ift.tt/1b4YgHQ for full links, other content, and more! ]
by Web Desk via Digital Information World
6 Pro Tips from React Developers
We've teamed up with Open SourceCraft to bring you 6 Pro Tips from React Developers.
Tip 1: Use functional components
Tip 2: Keep your components small
Tip 3: Understand how to handle this
Continue reading %6 Pro Tips from React Developers%
by Gregg Pollack via SitePoint
React Lifecycle Reference Guide
This is a reference guide to help developers quickly figure out which lifecycle method will best fit a solution they're currently working on in React.
constructor(props)
The constructor for a React component is the first method that gets called. This is where you should initiate state. You should ensure you execute super(props)
first. Otherwise, bugs will crop up.
constructor(props) {
super(props);
this.state = {
count: props.initialCount
};
}
componentWillMount()
This method is called just before component mounting and render method. Setting state here won't trigger a re-render. This method sounds like a nice place to set the component's initial state. However, React's official guidelines recommend using the constructor()
instead.
componentWillMount() {
// perform setState operations
}
render()
This is a mandatory method for all React components. It will be invoked when state changes, when the parent component causes it to re-render, or when component.forceUpdate()
is called.
The render()
method is where you put your JSX code. You can also return false
or null
if you don't want to render anything. You can read values from this.prop
and this.state
, but you can't call this.setState()
(or call another function that does). You should also not directly interact with the DOM. Instead, use componentDidMount()
.
render() {
const {message} = this.state;
return(
<div>
h1>List of Messages</h1>
<MessageView message={message} />
</div>
)
}
componentDidMount()
This method is invoked right after the component has been mounted and render()
has been called. Once a component mounts, it means you have access to the actual DOM nodes. This is a good place for performing network requests such as an API call. If you set state here, a re-render will be triggered.
componentDidMount = () => {
this.props.fetchContacts()
}
shouldComponentUpdate(nextProps, nextState)
This method is invoked just before render()
whenever there are new props or state changes. The method should only return true
or false
. If you return false
, this means the render
function won't be called. However, do note that:
- this method isn't called in the initial rendering
- child components will still re-render if you return
false
- future versions may not enforce this directive, but instead use it as a hint.
This method has access to nextProps
and nextState
, which gives you an opportunity to compare them with the current props/state and determine if a re-render is necessary. This is a good place to implement performance optimization code.
shouldComponentUpdate(nextProps, nextState) {
// put performance optimization code here
return true;
}
Continue reading %React Lifecycle Reference Guide%
by Michael Wanyoike via SitePoint