Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/webiny/custom-website-context-example

Demonstrate the use of custom React contexts in the Website app, and how page elements can hook into them.
https://github.com/webiny/custom-website-context-example

Last synced: 5 days ago
JSON representation

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

Awesome Lists containing this project

README

        

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):

https://user-images.githubusercontent.com/3920893/214283801-ccb52764-94f9-4933-8452-9574d4755472.mp4