Open filoxo opened 3 years ago
I'm updating an example repo of mine to Webpack 5, and that example exports an array of functions, not just one function. Playground validates that the lifecycles are functions. An array of functions is valid as well.
https://github.com/single-spa/single-spa-playground/blob/2b809e72e97cfc6cd9a0f32dab12738c123b2802/src/verify-app-guide/verification-steps/lifecycles-exported.component.js#L16-L18
This would be a good candidate for a new contributor or beginner, so contributions for this fix are welcome!
I'm updating an example repo of mine to Webpack 5, and that example exports an array of functions, not just one function. Playground validates that the lifecycles are functions. An array of functions is valid as well.
https://github.com/single-spa/single-spa-playground/blob/2b809e72e97cfc6cd9a0f32dab12738c123b2802/src/verify-app-guide/verification-steps/lifecycles-exported.component.js#L16-L18
This would be a good candidate for a new contributor or beginner, so contributions for this fix are welcome!