0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/packages/renderers/renderer-preact
Matthew Phillips af03c90c2b
Fix usage of arrow functions as components (#426)
* Fix usage of arrow functions as components

This fixes the React and Preact component as arrow function use-case by checking for the prototype property (arrow functions don't)

* Check the prototype
2021-06-14 13:24:37 -04:00
..
CHANGELOG.md Version Packages (#418) 2021-06-14 08:43:03 -04:00
client.js Bugbash! (#263) 2021-05-28 17:19:40 -05:00
index.js Bugbash! (#263) 2021-05-28 17:19:40 -05:00
package.json Version Packages (#418) 2021-06-14 08:43:03 -04:00
server.js Fix usage of arrow functions as components (#426) 2021-06-14 13:24:37 -04:00
static-html.js Bugbash! (#263) 2021-05-28 17:19:40 -05:00