GithubHelp home page GithubHelp logo

oieduardorabelo / scu-react-navigation-stack Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 144 KB

Avoiding re-rendering of hidden screen in react-navigation

JavaScript 44.38% Python 13.65% Java 11.22% Objective-C 30.75%

scu-react-navigation-stack's Introduction

Avoiding re-rendering of hidden screen in react-navigation

In this repository you'll find 2 examples of how to avoid re-rendering a hidden screen while using react-navigation;

  • I'm using react-navigation@^2.0.0-rc.1, but they also works in ^1.5.11

They are:

  • 1-PerScreen - Kind of subscription-ish, where each screen have their own "instance"/state of the publisher
  • 2-ScreenProps - Where your main stack is the subscriber and propagate updates to all screens via screenProps

You can check the Twitter thread where it all started.

scu-react-navigation-stack's People

Contributors

oieduardorabelo avatar

Watchers

James Cloos avatar  avatar

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.