-
All things we do, we only update the pixels on pages.
-
If it is updating base on time, we say it's an animation.
-
the stage one is to create an image.
Let's consider this react comp.
function Comment(props) {
return (
<div className="Comment">
<div className="UserInfo">
<Avatar user={props.author} />
<div className="UserInfo-name">
{props.author.name}
</div>
</div>
<div className="Comment-text">
{props.text}
</div>
<div className="Comment-date">
{formatDate(props.date)}
</div>
</div>
);
}
What we really do is to define the structure of the pattern. How we can construct it through a square layer point of view.
In this stage, what we really do is like to design it through the lens of sketch.
So the layers and folders (groups) are assigned here.
Stage one is just the sketch of this page. kind of high fidelity of design.
Stage two is the detailed painting using sketch.
So what react comps does is to define the structure of the face. Okay it has finished its job. We should use another library now to update.
The reason we use reusable parts is because we must save memory, quick at developing. and make it easy to understand.