Skip to content

enable react animations for comments list #155

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

Closed
wants to merge 3 commits into from
Closed

enable react animations for comments list #155

wants to merge 3 commits into from

Conversation

thiagoc7
Copy link
Contributor

Just following the guide, and using the same element class that already exist.

must use unique id as key. Don't work with map's index.
enable animations with hot loading on port 4000
Just a fixing a mistake
@rstudner
Copy link
Contributor

I believe ReactCSSTransitionGroups will throw console warnings still. It was discovered in 0.14.0, and sadly not yet fixed in 0.14.2 (it will be in 0.14.3).

Do you see warnings in your console when you do the animations?

@thiagoc7
Copy link
Contributor Author

no warnings... checked on both 3000 and 4000 ports.
Maybe you had warnings due to using index as key, it just works with unique id.

I just don't know how to fix the issues on travis.

@rstudner
Copy link
Contributor

Huh.. interesting/good.

This is the issue I was referring to:
facebook/react#4876


var comments = [
{ author: 'Pete Hunt', text: 'Hey there!' },
{ author: 'Justin Gordon', text: 'Aloha from @railsonmaui' },
{ author: 'Pete Hunt', text: 'Hey there!', id: uuid.v4() },
Copy link
Member

Choose a reason for hiding this comment

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

Why is this added?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

we need a unique id for list animations

@justin808
Copy link
Member

Hi @thiagoc7. Maybe rebase on top of master and let me know what the next step is.

@justin808
Copy link
Member

@thiagoc7 @josiasds @MaMute, let's see about getting this merged.

@josiasds
Copy link
Member

josiasds commented Dec 6, 2015

Finished on #164.

@josiasds josiasds closed this Dec 6, 2015
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.

4 participants