Why this Cookbook?

CookHatBookLWC.jpg

I wrote this LWC Cookbook for myself, as much as for anyone else, with 3 pillars proven to be truth in my learning experience:

  1. If I can’t explain it I don’t know it
  2. I only learn by practice
  3. In theory, theory and practice are the same. In practice, theory is not enough, while practice without theory is insufficient.

My experience with online resources is not great for learning LWC:

💫 … LWC Recipes, the secret sauce to your success!!!

But, one of the resources that took my attention was the LWC Recipes code Repository by the Salesforce Evangelist team:

But unfortunately:

So, I thought that if I could focus on those LWC recipes, adding some of my findings with explanations in a simple, concise and attractive format (kind of book+website) that would be ideal for my learning experience, and the LWC Cookbook ranked as a personal side project.

I ended up with this:

  1. Explaining every single recipe: a main introduction with links to Product Wiki to familiarize me with the capability that is demoed, and analyze the important staff in the XML configuration file, the HTML template file and the JavaScript for every recipe.
    1. I use AI, exclusively to check my grammar and vocabulary, as I am not a native English speaker and for the image generation exclusively.
  2. When useful, the recipe is linked to my Product Wiki to understand the capability in detail. Also, when useful, I will link external content to help understand the recipe, but I am reluctant to do it, for the reasons exposed above.