Skip to content

Commit ba7eb12

Browse files
committed
Update README.md
1 parent 50388c3 commit ba7eb12

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,9 @@ Blaze tries to avoid folding when it's likely to cause problems, but it cannot d
250250

251251
**Components that use global state should never be folded**. This includes anything not passed in from the outside — data accessed via helper functions, facades, or Blade directives. Using any of these patterns inside the component will produce incorrect results when folded.
252252

253+
> [!WARNING]
254+
> Blaze cannot detect global state usage and will not abort folding automatically. You must ensure these components are not marked with `fold: true`.
255+
253256
| Category | Examples |
254257
|----------|----------|
255258
| Database | `User::get()` |

0 commit comments

Comments
 (0)