Put in order · Vibe coding with Claude Code course · Module 10: TikTok clone
The effect with the recording address
Put the lines of the effect that creates and revokes the recording address in order (top to bottom):
Items to put in order
- }, [blob]);
- const url = URL.createObjectURL(blob);
- if (video) video.src = url;
- useEffect(() => {
- return () => URL.revokeObjectURL(url);
You can check the correct answer by solving this task in the CodeWorlds game.