Showing posts with label React.js. Show all posts
Showing posts with label React.js. Show all posts

Wednesday, September 29, 2021

Port Already in Use (Node.js, or other js js)

 


Solution :





Thursday, October 8, 2020

Passing child element reactjs

 








Saturday, November 26, 2016

map di React


class RobotItems extends React.Component {
  render() {
    const topics = ["React", "JSX", "JavaScript", "Programming"];
    return (
      <div>
        <h3>Topics I am interested in</h3>
        <ul>
          {topics.map(top => <li>{top}</li>)}
        </ul>
      </div>
    );
  }
}

Saturday, September 24, 2016

Available propTypes in ReactJS

Here is the available prop types that can be used in react :


For detail info about props, please see reusable-component document in official react site