~/talk

Advanced Gutenberg Block Development

Talkat WordCamp Asheville 2018 · 2018-08-18..08-19· [wordpress, javascript]
links:none on file
slides:none on file

Builds a tiny “heart” reaction block that stores a single integer in a post meta key and increments it via a custom REST endpoint; front end and editor share the same React/JSX components so markup isn’t duplicated. Uses WordPress’ wp.apiRequest for Ajax, registers a dynamic block with a PHP render_callback, and manages client state with Gutenberg’s WP Data (Redux-style) store. Demo shows instant UI updates and server-accurate counts; code and webpack build are on the linked repo.

AI-written summary · about

  1. 0:00Start
  2. 1:10Introduction
  3. 5:14Guttenberg Blocks
  4. 7:25Static Block Types
  5. 10:05Using Gutenberg in Production
  6. 11:40Jsx Components
  7. 17:56Register a New Wp Data Store
  8. 19:22Live Code
  9. 19:46Visual Studio Code
  10. 22:43Registering a Block
  11. 24:16Registering a Block Type
  12. 28:00Edit Function
  13. 31:07Save Function
  14. 37:56Front-End Javascript
  15. 54:03Does Guttenberg Have any Built-In Way of Consuming External Api
~/search
type to search 6,518 conferences, 143,918 speakers and 192,133 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.