Giter Club home page Giter Club logo

react-transition-components's Introduction

I am Setsun 🌇

I'm an engineer and a creative who is interested in pushing the boundaries of what's possible on the web: from it's usage as an accessible platform to build/distribute software, to an expressive medium for art + technology.

In that pursuit, I'm interested in novel applications of WebGPU, WebXR, WebAudio, and WebAssembly. In particular, on how they can help build richer, expressive, and performant experiences on the web.

Recent Projects

  • 3D Visualizers: A collection of 3D audiovisual experiments built with React, Three.js, and GLSL.
  • Raycaster: An experimental VJ live performance tool, with support for live-coding Three.js, p5.js and GLSL visuals. Built with React, TypeScript, Rust, WebAssembly, and Tauri.

react-transition-components's People

Contributors

dependabot[bot] avatar joelkang avatar setsun avatar thatmarvin avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

react-transition-components's Issues

Isomorphism problem

Hello! First of all thank you for developing this library.

I was wondering if I can use it on my isomorphic page and once I installed the package I'm having a window undefined error from server. It seems that the dist/index.js file have an IFEE that injects the window as argument:

!(function(t, e) {
  if ('object' == typeof exports && 'object' == typeof module)
    module.exports = e(require('react'), require('react-transition-group'));
  else if ('function' == typeof define && define.amd) define(['react', 'react-transition-group'], e);
  else {
    var r =
      'object' == typeof exports
        ? e(require('react'), require('react-transition-group'))
        : e(t.React, t.ReactTransitionGroup);
    for (var n in r) ('object' == typeof exports ? exports : t)[n] = r[n];
  }
})(window, function(t, e) {

......
.......
......
.......

entering styles don't get applied until entered state

I think there's something wrong with this block but i havent really figured it out yet.

When a component mounts, it is in the "exited" state, but the startStyle is applied since exited = entering. This means when exited->entering->entered, the styles are actually startStyle->startStyle->endStyle, which means the transition only starts to take effect when we are in the entered state.

I've temporarily fixed this in my component by manually applying the exited styles on the child component (to force a transition basically), but I think we need to fix which style is applied when

Action required: Greenkeeper could not be activated 🚨

🚨 You need to enable Continuous Integration on all branches of this repository. 🚨

To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.

Since we didn’t receive a CI status on the greenkeeper/initial branch, it’s possible that you don’t have CI set up yet. We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.

If you have already set up a CI for this repository, you might need to check how it’s configured. Make sure it is set to run on all new branches. If you don’t want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/.

Once you have installed and configured CI on this repository correctly, you’ll need to re-trigger Greenkeeper’s initial pull request. To do this, please delete the greenkeeper/initial branch in this repository, and then remove and re-add this repository to the Greenkeeper App’s white list on Github. You'll find this list on your repo or organization’s settings page, under Installed GitHub Apps.

Use Transition over CSSTransition & remove CSS styles

Transition allows for CSS transitions via React inline-styles. This can remove a CSS file dependency and also allow us to more easily configure things like easing and duration via the component props.

This also fixes CSS specificity issues when using the CSS classes needed by CSSTransition.

transitionId

react-transition-group has some nice callback functionality like onEnter, onExit, etc for tracking transition states.

Would be nice to pass in an optional transitionId in the props of the choreography component which can allow us to track the current status of the transition by passing it through the callbacks, which will make coordinating multiple transitions much easier in the app state.

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.