Giter VIP home page Giter VIP logo

Comments (9)

bySabi avatar bySabi commented on May 2, 2024 2

sure @slorber

from hooks.

bySabi avatar bySabi commented on May 2, 2024 1

@horacioh there is nothing there, all the work is done locally.

What I had been done is read each file line by line and adding typedefs, helped by Visual Studio Code ts compiler and linter.

I have not created types from scratch but try to reuse existing from flow types and @types/react-navigation. Is being very hard pair this types with existing function signatures. In the process some js code has changed, some files are added and others moved.

With this scenario it is difficult to share task with a remote developer. That's why I've been doing it alone.

My plan is create a very opinionated PR to react-navigation core and make the changes that maintainers request. At this point I will need your help for review the commits and contribute on all is left behind and the huge effort of migrate the others react-navigation projects.

I glad you want collaborate on this.

Keep in touch.

from hooks.

slorber avatar slorber commented on May 2, 2024 1

types are now in react-navigation (even if core is not yet typed, afaik), so this PR will remove the react-navigation-types-only + align the TS setup with other react-navigation projects

from hooks.

bySabi avatar bySabi commented on May 2, 2024

@ericvicenti like I say here https://github.com/react-navigation/react-navigation-core/issues/2.
I'm working a TS rewrite of the core. When finish I will update react-navigation-hooks.

react-navigation-types-only is the a fork of this PR: react-navigation/react-navigation#5276 and have the latest definitions. @types/react-navigation is a little outdate right now.

from hooks.

horacioh avatar horacioh commented on May 2, 2024

hey @bySabi!

I see that you are doing things here

maybe we can talk about your strategy and we can start working together on this?

thanks!

from hooks.

horacioh avatar horacioh commented on May 2, 2024

perfect @bySabi !
let's keep in touch!

from hooks.

slorber avatar slorber commented on May 2, 2024

Hi

let me know when you have a stable version so that i can provide feedback

from hooks.

CallMeLaNN avatar CallMeLaNN commented on May 2, 2024

I didn't find any react-navigation-types-only on NPM.

from hooks.

slorber avatar slorber commented on May 2, 2024

in 1.0.2-alpha.0 the types are retrieved directly from react-navigation. For now they are mostly hand written (afaik) but sooner or later react-navigation core will be in typescript

from hooks.

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.