You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
jdwilkin4
changed the title
chore: add workshop for teaching useEffect hook in frontend cert
chore: create prototype for teaching useEffect hook
Oct 15, 2024
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
The text was updated successfully, but these errors were encountered: