Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add workshop for teaching useEffect hook in frontend cert #550

Open
1 task
jdwilkin4 opened this issue Sep 3, 2024 · 1 comment
Open
1 task

Comments

@jdwilkin4
Copy link
Contributor

We need a workshop to teach working with the useEffect hook.
This should be a short workshop.

You can see the lecture videos on the sheet to get a sense of what was taught immediately before this.

Here are some suggested project ideas from ChatGPT:

Live Search Feature

Objective: Implement a live search feature where search results update in real-time as the user types.
Use of useEffect: To debounce the search input and perform API requests only after the user has stopped typing for a specified duration.
Learning Outcome: Understand how to debounce inputs and manage asynchronous operations within effects.

Dynamic Page Title

Objective: Create a component that updates the document title based on its content.
Use of useEffect: To change the document title whenever the component mounts or its content changes.
Learning Outcome: Manipulate browser APIs and handle side effects related to DOM updates.

We will supply the css for them.
The steps will only focus on the JSX and the useEffect hook.

Acceptance criteria

  • add your workshop files to the react project folder in the front-end cert directory
@jdwilkin4
Copy link
Contributor Author

marking this as blocked for now until we know what the final editor implementation will look like for the react and typescript projects.
Oliver will let us know when that is

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant