Giter Site home page Giter Site logo

n8jadams / smoothr Goto Github PK

View Code? Open in Web Editor NEW
27.0 27.0 2.0 266 KB

A custom React router that leverages the Web Animations API and CSS animations.

Home Page: https://smoothr.netlify.com/

License: MIT License

CSS 8.07% HTML 6.80% JavaScript 85.13%
animated animation-library css-animation-effects css-animation-library css-animations react react-router router single-page-applications web-animations web-animations-api

smoothr's People

Contributors

n8jadams 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

smoothr's Issues

Images flash in Safari on transition

When navigating to and from the "Smoothie" page on Safari (both mobile and desktop), the image seems to flash during re-render.

Video Demo of problem

When testing it out on the demo (v0.4.2), I think that it's mostly a problem with the SVG image on the Smoothie page, and most likely images in general. It doesn't seem to remember the rendered Component saved in React's virtual DOM.

It doesn't happen every time. It's kind of brittle. I tried adding a unique key to each rendered <Route> component, minimizing how many renders occur, and messed around with the timeouts... which may be a little unstable, but I may have missed something.

Any help would be much appreciated.

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.