You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
renderRecos is the default export of the render.js file.
In custom-element.js imports the module and saves the default export under the name render locally.
I could also have omitted the renderRecos name and only provide an anonymous function but I named it for better readability.
renderRecos is the default export of the render.js file. In custom-element.js imports the module and saves the default export under the name render locally. I could also have omitted the renderRecos name and only provide an anonymous function but I named it for better readability.
Okay! This is just my lack of familiarity with raw JS. Thanks for clarifying
Noticed a call to a render(sku) function on line 23 from the sibling level import of render.js
When I look at the function in the file, however, the static function name is actually renderRecos().
Is this a typo, or am I missing something?
The text was updated successfully, but these errors were encountered: