Skip to content

Conversation

@kennylindley
Copy link

This project is written in LiveScript, we may have to talk about it.

This is also not able to run on CI, because I did not update GULP, which uses node 8. I also removed examples, which have react deprecations, but I did not want to change it.

The deprecations that I addressed are as follows:

  • createFactory is deprecated. React recommends converting to JSX or using createElement. Because this is LiveScript, I opted for createElement. This also meant that I had to remove the react-dom-factories package, which uses createFactory under the covers.
  • componentWillReceiveProps is deprecated. These should be refactored to use componentDidUpdate.
  • Using refs without React.createRef has been deprecated for a while, and that does not work with createElement.

@kennylindley kennylindley requested a review from bmedenwald March 21, 2023 18:56
@bmedenwald bmedenwald removed their request for review March 22, 2023 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant