Skip to content

Demonstrate the use of custom React contexts in the Website app, and how page elements can hook into them.

Notifications You must be signed in to change notification settings

webiny/custom-website-context-example

Repository files navigation

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

About

Demonstrate the use of custom React contexts in the Website app, and how page elements can hook into them.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published