-
Notifications
You must be signed in to change notification settings - Fork 51
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
React 16 support? #26
Comments
Hello @pencilcheck It seems to be working for me: {
"name": "chatloader-react",
"version": "0.1.0",
"private": true,
"dependencies": {
"react": "^16.4.2",
"react-dom": "^16.4.2",
"react-fittext": "1.0.0",
"react-router-dom": "^4.3.1",
"react-scripts": "1.1.4"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"
}
} import React from 'react';
import ReactFitText from 'react-fittext';
import logo from './logo.svg';
import './App.css';
const App = ({ title }) => (
<div className="App">
<header className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<h1 className="App-title">{ title }</h1>
</header>
<ReactFitText>
<p>Testing React Fittext Testing React Fittext Testing React Fittext</p>
</ReactFitText>
</div>
);
export default App; |
Will this get released? |
I've created a library that solves this, that works with react 16+ and allows for resizing of components https://github.com/damiangreen/isomorphic-react-fittext |
I'm getting the same issue when I am on React 16+ Please update this package to support React 16 and 17!
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: