Skip to content

Commit 4d805e5

Browse files
committed
Update README.md
1 parent 512d588 commit 4d805e5

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

README.md

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -64,28 +64,18 @@ php artisan view:clear
6464
Blaze supports all essential features and produces HTML output that is identical to Blade. The focus is on maximizing performance while maintaining compatibility. That said, there are some limitations to be aware of:
6565

6666
- **Class-based components** are not supported
67-
68-
Class instantiation introduce significant overhead. Blaze only focuses on optimizing anonymous components, which are often used for building design systems and UI libraries. If your component requires complex logic it is likely not a good candidate for Blaze optimization.
69-
70-
The `$component` variable, which normally points to the component class instance, will also not be available.
71-
67+
- **The `$component` variable** will not be available
7268
- **View composers / creators / lifecycle events** will not fire
73-
74-
TODO
75-
7669
- **Auto-injecting `View::share()` variables** is not supported
7770

78-
TODO
79-
80-
Variables shared via `View::share()` will NOT be injected automatically. You have to access them manually:
71+
You can still access the data manually via the `$__env` variable:
8172

8273
```blade
8374
{{ $__env->shared('key') }}
8475
```
85-
8676
- **Cross boundary `@aware`** between Blade and Blaze components
8777
88-
While `@aware` is supported, you must use Blaze in both parent and child for values to propagate correctly.
78+
Both parent and child must use Blaze for values to propagate.
8979
9080
# Configuration
9181

0 commit comments

Comments
 (0)