question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Better 'Usage' in README

See original GitHub issue

It’s not clear you have to use set states in order to animate. I had to check example.js and discover you have to use this.setState({ height: 'auto' }).

Maybe a more detailed usage would be better for noobies like myself! (:

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:4
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
Stankocommented, Dec 14, 2017

Hey, I’ve updated the readme with the example you provided.

I’m really busy with other projects, but I have this on my todo list.

Cheers!

3reactions
Stankocommented, Jun 9, 2017

Hello, That’s basically how react works. To re-render the component I’m updating the state. ATM I’m travelling, but I can do a blog post how it works when I get back. How does that sound?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Write a Good README File for Your GitHub Project
It is the first file a person will see when they encounter your project, so it should be fairly brief but detailed. ·...
Read more >
Make a README
Learn how to make a great README for your programming project, and use the editable template to get started.
Read more >
How to write a good README - DEV Community ‍ ‍
Show as many usage examples as possible. Show the simplest, quickest way to use the project. There is rarely a code snippet that...
Read more >
How to write a good README for your GitHub project?
README (as the name suggests: "read me") is the first file one should read when starting a new project. It's a set of...
Read more >
matiassingers/awesome-readme: A curated list of ... - GitHub
A curated list of awesome READMEs. Contribute to matiassingers/awesome-readme development by creating an account on GitHub.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found