Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fallback react to 16.8-alpha.0 #49

Merged
merged 1 commit into from
Jan 30, 2019

Conversation

jigsawye
Copy link
Collaborator

No description provided.

@jigsawye jigsawye force-pushed the chore/fallback-react-to-16.8-alpha.0 branch from 9744ea9 to b219e00 Compare January 30, 2019 03:25
@@ -203,7 +204,7 @@ const Input: FunctionComponent<IInputProps> = forwardRef(
const inputRef = useRef<any>(null);

// FIXME: wait for upstream: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/32144
(React as any).useImperativeHandle(ref, () => ({
useImperativeMethods(ref, () => ({
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

超尷尬

@@ -42,15 +40,14 @@ export const TooltipContent = styled(tag.div)<TooltipContentProps>`
`};

${space};
${minWidth};
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

這個 breaking 但影響應該不大

@@ -34,6 +31,7 @@ export const TooltipContent = styled(tag.div)<TooltipContentProps>`
color: ${({ light, theme: { colors } }) =>
light ? colors.gray700 : colors.light};
font-size: ${p => p.theme.fontSizes.sm};
white-space: nowrap;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

不換行了

@jigsawye jigsawye force-pushed the chore/fallback-react-to-16.8-alpha.0 branch from b219e00 to f25d4ef Compare January 30, 2019 03:48
@jigsawye jigsawye force-pushed the chore/fallback-react-to-16.8-alpha.0 branch from f25d4ef to 862fcf4 Compare January 30, 2019 04:14
Copy link
Contributor

@kpman kpman left a comment

Choose a reason for hiding this comment

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

等 react-spring 升級後,我們也要再改嗎?

@jigsawye
Copy link
Collaborator Author

@kpman 他們作者說在重寫,以後不會用到這個 API

pmndrs/react-spring#451 (comment)

@jigsawye jigsawye merged commit fc83ad1 into master Jan 30, 2019
@jigsawye jigsawye deleted the chore/fallback-react-to-16.8-alpha.0 branch January 30, 2019 04:24
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.

2 participants