Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/webiny/custom-website-context-example
- Owner: webiny
- Created: 2023-01-24T10:45:04.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-24T11:54:45.000Z (almost 2 years ago)
- Last Synced: 2024-11-07T17:12:52.647Z (about 2 months ago)
- Language: TypeScript
- Size: 56.8 MB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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