In Blaze 1.0-beta, @blaze implicitly enabled both folding and memoization:
@blaze // Before: folding + memoizationIn Blaze 1.0, @blaze enables function compilation only:
@blaze // Now: function compilation onlyTo enable folding or memoization, you now need to opt in explicitly:
@blaze(fold: true, memo: true)or using the Blaze::optimize() in your service provider:
Blaze::optimize()
->in(resource_path('views/components'))
->in(resource_path('views/components/ui'), fold: true)
->in(resource_path('views/components/icons'), memo: true);Only use these strategies if you understand their limitations. To learn more, read the Optimization strategies section in the README.