question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Compatablity with Preact X

See original GitHub issue

⚠ WARN BabelEsmPlugin: ../node_modules/preact-habitat/dist/preact-habitat.es.js 151:25-31 "export ‘default’ (imported as ‘preact’) was not found in 'preact

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

2reactions
sampottscommented, Aug 2, 2019

@zouhir Can bump the version and publish to npm?

1reaction
joaodfmotacommented, Jul 10, 2019

I’m using the master and it’s working fine.

"preact-habitat": "zouhir/preact-habitat#master",

The latest published version is 3.2.2 on 2018-07-06 and the pull request is dated 2019-04-18

Read more comments on GitHub >

github_iconTop Results From Across the Web

What's new in Preact X
The compatibility layer is now called preact/compat, and has learned several new tricks such as forwardRef , memo and countless compatibility improvements.
Read more >
Upgrading from Preact 8.x
Preact X brings many new exciting features such as Fragments , hooks and much improved compatibility with the React ecosystem. We tried to...
Read more >
Switching to Preact (from React)
preact /compat is our compatibility layer that allows you to leverage the many libraries of the React ecosystem and use them with Preact....
Read more >
Differences to React - Preact
For both Preact and preact-compat, version compatibility is measured against the current and previous major releases of React. When new features are ...
Read more >
Differences to React - Preact
For both preact and preact/compat, version compatibility is measured against the current and previous major releases of React.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found