feat:forward context processors variables in context in ISOLATED mode (#975)

* feat:forward context processors variables in context in ISOLATED mode

	provide context_processors_data property to Component to access those variables in Component

* refactor: internalize RequestContext and pass HttpRequest internally

* docs: document HttpRequest and context processors

---------

Co-authored-by: Juro Oravec <juraj.oravec.josefson@gmail.com>
This commit is contained in:
lilian D 2025-02-20 11:06:49 +01:00 committed by GitHub
parent 5535f3bad8
commit 8b5579d2be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 653 additions and 18 deletions

View file

@ -1,6 +1,6 @@
---
title: Subclassing components
weight: 11
weight: 12
---
In larger projects, you might need to write multiple components with similar behavior.