Commit b3ae980
User
Fix Jinja2 _component prerender default value
The Jinja wrapper used prerender="" as default, but str_to_bool("")
raises ValueError. Fix by matching the Django tag behavior — default to
str(REACTPY_PRERENDER) when no explicit prerender value is provided.1 parent 92f3d38 commit b3ae980
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
115 | 119 | | |
116 | 120 | | |
117 | 121 | | |
| |||
0 commit comments