This project was bootstrapped with Create React App. See the official guide to learn more about this tool.
Welcome to another one in the series of React tasks that we send periodically to the subscribers of our official newsletter! If you'd also like to challenge your React programming skills and get professional code review, we'll be very happy to see you sign up!
Make sure you run npm install
first to install the dependencies.
The App component has three buttons. Each of these buttons is supposed to trigger a standard JS alert box with the application name available in props. Currently, only the first button
has some implementation, but it does not work. Your task is to fix this implementation and also come
up with two other solutions for correct binding of this
in the event handler for the other buttons.
Please also add a comment in code explaining which of those methods is your favorite and why.
Submission deadline for code review: July 4th, 2018.
Here's a step by step process to get your code reviewed by a member of React Rangers:
- Fork this public repository using your GitHub account.
- Commit and push your code to your forked repository.
- Submit a pull request to the original repository by the deadline.
- React Rangers member is going to submit insightful comments to your code.
If your new to Git or GitHub, check out this awesome tutorial to get started!
Good luck!
Learn more about React Rangers at https://www.react-rangers.com/.