@@ -5,8 +5,8 @@ Twig Components
55to change, or even change drastically.
66
77Twig components give you the power to bind an object to a template,
8- making it easier to render and re-use small template “ units” - like an
9- “ alert” , markup for a modal, or a category sidebar:
8+ making it easier to render and re-use small template " units" - like an
9+ " alert" , markup for a modal, or a category sidebar:
1010
1111Every component consists of (1) a class::
1212
@@ -44,7 +44,7 @@ Enjoy your new component!
4444
4545 Example of the AlertComponent
4646
47- This brings the familiar “ component” system from client-side frameworks
47+ This brings the familiar " component" system from client-side frameworks
4848into Symfony. Combine this with `Live Components `_, to create
4949an interactive frontend with automatic, Ajax-powered rendering.
5050
@@ -64,7 +64,7 @@ That's it! We're ready to go!
6464Creating a Basic Component
6565--------------------------
6666
67- Let's create a reusable “ alert” element that we can use to show success
67+ Let's create a reusable " alert" element that we can use to show success
6868or error messages across our site. Step 1 is always to create a
6969component that has an ``AsTwigComponent `` class attribute. Let's start
7070as simple as possible::
@@ -257,7 +257,7 @@ component use a ``PreMount`` hook::
257257Fetching Services
258258-----------------
259259
260- Let's create a more complex example: a “ featured products” component.
260+ Let's create a more complex example: a " featured products" component.
261261You *could * choose to pass an array of Product objects into the
262262``component() `` function and set those on a ``$products `` property. But
263263instead, let's allow the component to do the work of executing the
0 commit comments