What problem does it solve?
Integrating the Times Square notebook execution system into a web application can be complex, involving real-time updates, URL parameter management, and API interactions. This skill provides clear patterns and best practices for a smooth integration.
Core Features & Use Cases
- Notebook Display & Interaction: Guides on displaying Times Square pages, handling URL parameters, and managing real-time Server-Sent Events (SSE) updates.
- API & Data Fetching: Provides patterns for using custom SWR hooks to fetch Times Square data and setting up mock API endpoints for local development.
- Routing & Previews: Explains routing for regular pages and GitHub PR previews, simplifying navigation and review workflows.
- Use Case: To embed a dynamic Jupyter notebook from Times Square into a new application page, use this skill to set up the necessary context providers, data fetching hooks, and parameter handling.
Quick Start
Fetch and display metadata for a Times Square page with the slug 'my-notebook-page'.
useTimesSquarePage('my-notebook-page')