Custom React contexts in the Website app, and how page elements can hook into them

This example repository demonstrates the following things:

  • adding new project workspaces
  • creating custom Page Builder elements
  • adding custom React Context providers to the website app, within the page layouts
  • controlling content rendering using SecurityProvider
  • accessing React Context from custom page elements

TIP: open the commits history, and you’ll be able to see each piece of functionality added as individual commit. That way you’ll better understand what change is related to a particular piece of functionality.

See the outcome in this short video with commentary (make sure you unmute the video):

overview.mp4

GitHub

View Github