Custom story components don't work with arrow functions
pawelblaszczyk5 opened this issue · comments
Paweł Błaszczyk commented
Arrow functions don't work properly as custom story components due to usage of arguments
in the generated code.
Exact line of code:
whyframe/packages/jsx/src/shared.js
Line 401 in eac6301
Reproduction: https://stackblitz.com/edit/vitejs-vite-zygwoz?file=src/routes/index.tsx
Bjorn Lu commented
Fixed in @whyframe/jsx
v0.1.8!