Giter VIP home page Giter VIP logo

Comments (6)

developit avatar developit commented on May 1, 2024

100% agree, I'm dying to get a few minutes to put together even something as simple as a direct port. While it's likely possible to use preact-compat to import those directly, it's sub-optimal. Has been some discussion in the gitter room about this.

from preact.

dzcpy avatar dzcpy commented on May 1, 2024

+1

from preact.

developit avatar developit commented on May 1, 2024

I threw a working to-do example together:
https://github.com/developit/preact-redux-example

from preact.

developit avatar developit commented on May 1, 2024

Closing since this is now technically available. Any feedback on the linked example is greatly appreciated.

from preact.

lxe avatar lxe commented on May 1, 2024

preact-router lacks 'history' which makes react-router-redux fail in hisyncHistoryWithStore:

sync.js:104 Uncaught TypeError: Cannot read property 'listen' of undefined

from preact.

developit avatar developit commented on May 1, 2024

@lxe hmm - are you trying to substitute preact-router in for react-router? They are very different. If you want to use react-router, just alias react out for preact-compat and use react-router itself. It should be fully supported.

from preact.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.