Giter Site home page Giter Site logo

claudiopro / react-fiber-vs-stack-demo Goto Github PK

View Code? Open in Web Editor NEW
140.0 0.0 45.0 237 KB

⚡️ React Fiber vs Stack Demo

Home Page: https://claudiopro.github.io/react-fiber-vs-stack-demo

License: MIT License

CSS 7.30% HTML 92.70%
react react-fiber react-stack demo sierpinski-triangle

react-fiber-vs-stack-demo's Introduction

React Fiber vs Stack Demo

This demo shows the differences between Stack and Fiber by rendering a Sierpinski triangle that constantly shrinks and grows, and whose nodes have a value that increments by one every second.

Used as a demo during the ReactJS Dublin Lightning Talks meetup of February 22nd 2017.

License

MIT

Copyright (c) 2017 Claudio Procida

React and Fiber example Copyright (c) 2013-present, Facebook, Inc. All rights reserved.

react-fiber-vs-stack-demo's People

Contributors

claudiopro 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

react-fiber-vs-stack-demo's Issues

feature request: add a checkbox to optionally increase seconds on every frame

Somebody saw your demo and created a repro using Aurelia
http://aurelia-thousand-nodes.bigopon.surge.sh/
and here is the repo
https://github.com/bigopon/aurelia-thousand-nodes

but with values in nodes updating only each second there is no way to compare.
Both implementations (react with fiber and aurelia) perform @ 60fps.

But if updates to seconds happen on every frame - things slow down a bit.

Could you modify your demo to include the checkbox that when checked eliminates the interval and increases seconds on every frame?

I get the Fiber but what's Stack?

Hey React Fiber Seems super fast from the example. However, I am not very aware with the Stack, is it the name of the technology behind the previous version of react? Any pointers will be very appreciated. Thanks a lot that's a cool triangle example.

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.