JavaScript for WordPress Forums Gutenberg Development 04.02 Ex Static Block re: const shoutOut =

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #92305

    I’m practicing and the plugin/block was breaking when return( {shoutOut} );
    Using return( ( shoutOut) ); worked.

    In the video, I wasn’t sure if this was intended as part of “practice” or not. But I wanted to understand a little more. Anyway, I could see you used {} in the video.

    Anyway.. learning a ton! Thanks


    Zac Gordon

    Hi Chris!

    What are you are likely seeing is Object Destructuring, which is just part of JavaScript syntax.

    It get’s explained a bit in the course, but I have a more indepth video on it here if you like: – Destructuring Objects [6:42]


    Okay, thanks. I am considering the yearly/annual option.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.