View Code? Open in Web Editor
NEW
Comfort of CRA + preact without ejecting π₯
License: MIT License
cra-preact's Introduction
- π Interested in programming language theory
- βοΈ Hacking in
main.{ts,tsx,rs,jl,go,py,dart,kk}
- π± Currently learning Lean, Coq, Scala, and Swift
- π¬ Ask me about PokΓ©mon
- π Effect systems is the future
- π€ Soon to be a cyborg
cra-preact's People
Contributors
cra-preact's Issues
Maybe it already works and it's only a matter of bumping the peer dependency.
Describe the bug
I have this error when I yarn start
and yarn build
.
Can't reexport the named export 'renderToString' from non EcmaScript module (only default export is available)
This is linked to this comment: preactjs/preact#1399 (comment)
To Reproduce
Steps to reproduce the behavior:
- Install preact: 10.5.14
- Install preact-render-to-string: 5.1.19
- Try to compile
Expected behavior
It should build the project.
Versions
- react-scripts v : 4.0.3
- cra-preact v : 0.4.0