Company logo
  • Jobs
  • Bootcamp
  • About Us
  • For professionals
    • Home
    • Jobs
    • Courses
    • Questions
    • Teachers
    • Bootcamp
  • For business
    • Home
    • Our process
    • Plans
    • Assessments
    • Payroll
    • Blog
    • Calculator

0

81
Views
Will `TypeDefinition for React v15.0` work with React v0.14.7

In my existing project we are already using React v0.14.7. Using npm I just did:

npm install --save react@0.14.7 react-dom@0.14.7 @types/react @types/react-dom

Then I checked node_modules folder and it has a @types/react folder which contains index.d.ts file. The first line of this file says:

// Type definitions for React v15.0

Now my question:

Is this compatible with React v0.14.7. If not then what to do?

8 months ago · Santiago Trujillo
1 answers
Answer question

0

yes you should be able to write code against those type definitions that will run with React 0.14.7. According to the changelog, there were no new APIs added in v15.0 that aren't in 0.14.7.

8 months ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post job Plans Our process Sales
Legal
Terms and conditions Privacy policy
© 2023 PeakU Inc. All Rights Reserved.