Problem with each loop in Edge


{{}} // here is known = 10
@each(category in categories)
{{}} // Here is no longer known = undefined ???
@if( === // So this does not work ???

Is this a bug or is this normal ?
Doing such things in laravel blade works like a charm ?



how about giving @endif at the if line?

{{}} // Here is no longer known = undefined ???

and i dont understand what is the meaning of this line. cuz i’ve tried it in my code and it works perfectly fine. mind sharing some code on your controller?


Problem Solved

The each was already in a Each loop (it was a nested loop !)

Then to reach the we need to use : $