* fix: restructure certifications guide articles * fix: added 3 dashes line before prob expl * fix: added 3 dashes line before hints * fix: added 3 dashes line before solutions
662 B
662 B
title
title |
---|
Create a Stateless Functional Component |
Create a Stateless Functional Component
Hints
Hint 1
- Stateless functions are one of the ways to create a React component.
- These functions can receive data and render it, but do not manage or track changes to that data.
- To make the component, a stateless component, a return function is one of the necessary things and that's what is missing
Hint 2
A return function is added like this
return(
<return elements>
);
Solutions
Solution 1 (Click to Show/Hide)
return(
<div>Completed challenge!</div>
);