~/talk

How to add a built-in authoring experience to Next.js

Talkat Next.js Conf 2022 · on Tuesday, 2022-10-25· [react, developer-experience]
name:Kapehe
github:kapehe-ok
slides:none on file

Clear, concrete recipe: use Next.js plus Vercel and Sanity.io with the next-sanity package to mount a Sanity Studio under /admin inside the app, define schemas, query with groq, and fetch pages via getStaticProps/getStaticPaths. The demo builds an embedded CMS in two files in less than nine minutes, publishes edits that sync to the cloud in real time, and serves content with static pages and live editor previews — it works end to end.

AI-written summary · about

  1. 0:00Scalable content solutions
  2. 1:04Progressive enhancement
  3. 3:32Hard-coded content challenges
  4. 4:57Sanity Studio for Next.js
  5. 5:39Starting the demo from scratch
  6. 6:44Admin route setup
  7. 7:25Sanity Studio config
  8. 9:12Sanity project connection
  9. 11:00Sanity schemas
  10. 12:03Embedded studio launch
  11. 13:09Document types and fields
  12. 14:52Publishing and syncing
  13. 16:19Frontend content display
  14. 18:27Dynamic article routing
  15. 20:35Real-time updates
  16. 21:20Unified URL scaling
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.