:recycle: Minimal functional Virtual DOM rendering using Preact :bike:
by developitJavaScript
Last 12 weeks · 0 commits
2 of 6 standards met
I'm trying to upgrade my project from to but as of right now my Webpack 1.13 is throwing an error when trying to do: I've diffed the generated file between versions ( vs ) and have found the issue being with the use of the function which in was done via: but in the generated code looks like this: Note that in the is used as a function directly whereas is calling it from within the object. The issue with the more recent version seems to be that the definition of the is below the code being executed and when webpack is parsing the file during the phase it seems to freak out when it hits this function call. I've been trying to work out how this has happened/changed but I can't explain it since neither nor in the project seems to have changed since the bump to . Any ideas?
Repository: developit/preact-cycle. Description: :recycle: Minimal functional Virtual DOM rendering using Preact :bike: Stars: 143, Forks: 12. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Homepage: https://developit.github.io/preact-cycle/ Topics: preact, preact-components. Latest release: 0.5.1 (9y ago). Open PRs: 0, open issues: 2. Last activity: 7y ago. Community health: 42%. Top contributors: developit, jannisg, matthewmueller.