Giter Club home page Giter Club logo

Comments (8)

semoal avatar semoal commented on June 9, 2024

Reselect changed his internal typings in a minor version, and that probably caused our @rematch/select typings to fail.
We'll need to look into this more deeply.

from rematch.

NoahStepheno avatar NoahStepheno commented on June 9, 2024

I'm willing to fix it. But I'm new here, perhaps need your help.

from rematch.

semoal avatar semoal commented on June 9, 2024

@tianzhich

from rematch.

tianzhich avatar tianzhich commented on June 9, 2024

I'm willing to fix it. But I'm new here, perhaps need your help.

No problems. Feel free to ask here for any questions you encountered.

from rematch.

tianzhich avatar tianzhich commented on June 9, 2024

To be honest the rematch doesn't 100% compatible with reselect. There are so many @ts-ignore in the codebases. If you are familiar with reselect we could try to fix them together.

from rematch.

semoal avatar semoal commented on June 9, 2024

To be honest the rematch doesn't 100% compatible with reselect. There are so many @ts-ignore in the codebases. If you are familiar with reselect we could try to fix them together.

With old reselect we weren't, but with new reselect we could be 100% compatible, now his types are so easily compared to older ones. (They passed from 1000 lines to just 115)
https://github.com/reduxjs/reselect/blob/master/src/types.ts

They rewrote his codebase to TS and now they're only compatible with TypeScript 4.2+. We could ship a fix for this on a major version of @rematch/select,

In this way our users could use:

  • Rematch + Reselect(<4.1.0) + @rematch/select (3.0.0 - current) with an older TypeScript version .

And other users could use:

  • Rematch + Reselect(>=4.1.0) + @rematch/select (4.0.0 - next)

What do you think? I think is worth it to invest in this, we keep a better development line than RTK.

@NoahStepheno You can read CONTRIBUTING.md how to clone, setup, and work with Rematch codebase. Feel free to ask anything on Discord or here if you feel stuck.

from rematch.

tianzhich avatar tianzhich commented on June 9, 2024

That was great. Yes - It's worth investing in this.

from rematch.

stale avatar stale commented on June 9, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from rematch.

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.