Lukas Lücke

Results 42 comments of Lukas Lücke

Since we set the state to the props at the same time anyway, they will eventually be equal - just not initially.

@wittydeveloper Any chance you could merge this one as well?

```json "files": [ "dist", "lib", "es" ], "types": "./lib/index.d.ts", ``` I am using this in my project right now, which massively improves the IDE behaviour (see https://youtrack.jetbrains.com/issue/WEB-44118 / https://youtrack.jetbrains.com/issue/WEB-44836). This...

I solved this by installing `@types/react` and `@types/react-dom` in my project directly, seems like otherwise it uses an outdated version with these issues. Could probably also be updated here to...

I have the following installed: ``` "@types/react": "^16.9.43", "@types/react-dom": "^16.9.8", ```

@brillout I know it's been a while since you made this comment, but I would love something like this. How would you go about implementing that? Any pointers?

I was assuming that @brillout had some solution in mind when proposing this. I'm currently comparing a bunch of libraries for this, some using babel macros, some based on typescript,...

@Fuzzyma Do you know which competitor that is by any chance? Might be another one to add to my list of candidates 😁 Yeah I'm not really looking to switch...

@brillout Yeah that was one of my ideas as well, but I'm not sure if it needs to "transform" all files that contain types referenced in the guard - or...

@Fuzzyma Thank you!