Giter VIP home page Giter VIP logo

react-easy-transition's People

Contributors

aagentah avatar benct avatar elstob avatar maxsvargal avatar misterfresh avatar notgiorgi avatar tlouth19 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

react-easy-transition's Issues

Problem with the package's dependencies

Hi,

I was having a problem with the package after cloning my project and running npm install.

When I ran my project, I was getting the following error on the console:

Uncaught Error: Invariant Violation: addComponentAsRefTo(...): Only a ReactOwner can have refs. You might be adding a ref to a component that was not created inside a component'srendermethod, or you have multiple copies of React loaded (details: https://fb.me/react-refs-must-have-owner).

After some research and a find . | grep react inside my node_modules folder, I found out the package had another version of React inside its own node_modules folder and it was loading this different version of React on the client, thus leading to the error above.

Apparently, setting the dependency from ^0.14.0 || 15.0 to ^0.14.0 || ^15.0 solved the problem for me, but I think a more thorough checking of the compatibility with the latest version would be the proper solution.

Server rendered views 'flash'

If react is rendered on the server, the page is displayed, then flashes as the initial style is set to 0 opacity, then animated back in.

Is there any way to negate this?

Not Working in IE11

Looks like the babel object-assign transform is not being applied. This PR seems to address the issue: #8. Would love to use this component for an upcoming release :D

Doesn't work with flexbox - renders component 2x.

I'm trying to use this with flexbox. My html structure is as follows:

css

.Site {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.Site-content {
  flex: 1;
}

#app {
  display: block;
}

html

<body class="Site">
    <div class="Site-content">
        <div id="app">
             ... app rendered here ...
        </div>
    </div>
</body>

With the above css, a click on links does not transition correctly on the first click, and on the second click it renders a duplicate of the component.

Problem with package.json "engines" value, when using yarn

Hi,

I have a problem with installing this package using yarn instead of npm.
It says:

error [email protected]: The engine "node" is incompatible with this module. Expected version "7.2.1".
error Found incompatible module

As I understood it's because of the value of engines.node, which in you case is strictly set to 7.2.1. Could you change it to something like 4.x || 5.x || 6.x || 7.x (it's example from react's package.json)?

Thanks!

componentWillLeave() not being called

I have debugged through the package cause my leaveStyle does not get applied.
Found out that componentWillLeave is not being called after I navigate from the component.
Any idea how to fix that?

Option for more than one transition

Is it possible to implement this with more than one transition? For instance, slide right/left based on whether or not the user is going forwards or backwards in history.

Customise the fade out?

I've noticed that there's a fade out which seems to be locked to 0.3s which doesn't look good with a 1s fade in. How can this be changed?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.