Skip to content

Conversation

@mshwery
Copy link
Contributor

@mshwery mshwery commented May 8, 2020

This switches from innerRef to React.forwardRef support. Not 100% sure on the typing because we have to do some custom stuff to get the generic types to work right here...

@mshwery mshwery requested review from Rowno, akleiner2 and colinlohner May 8, 2020 03:23
@akleiner2
Copy link

What's up with all the yarn.lock changes?

@mshwery mshwery changed the title replace innerRef with forwardRef and use React.memo replace innerRef with forwardRef May 8, 2020
@mshwery
Copy link
Contributor Author

mshwery commented May 8, 2020

@akleiner2 honestly not sure where they came from! reverted that file.

Copy link

@akleiner2 akleiner2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems legit!

@mshwery
Copy link
Contributor Author

mshwery commented May 8, 2020

This will land as a breaking change

@mshwery
Copy link
Contributor Author

mshwery commented May 8, 2020

Cutting an @next version of this to npm.

@akleiner2
Copy link

@mshwery is this good to take a stab at cutting over into evergreen@v5?

@mshwery
Copy link
Contributor Author

mshwery commented May 19, 2020

@akleiner2 feel free to give it a spin! It should be available via ui-box@next

@mshwery mshwery changed the base branch from master to v4 May 23, 2020 04:27
@mshwery mshwery merged commit c2fcc68 into v4 May 23, 2020
@mshwery mshwery deleted the rm-innerRef branch May 23, 2020 04:30
mshwery pushed a commit that referenced this pull request Jul 28, 2020
* replace innerRef with forwardRef (#61)

* enable safe hrefs by default (#63)

* use separate sourcemaps and fix yarn size-limit

* format file, remove comments from dist

* lint --fix a few things

* node 10.18+

* upgrade ts deps and use simpler polymorphic typing (#71)

* v4.0.0-1

* update types again

* export types

* v4.0.0-2

* revert propsOf back

* v4.0.0-3
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.

3 participants