Giter Site home page Giter Site logo

mvcoconut / examples-react-native Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 3.0 1.44 MB

React Native app built from Coconut

Home Page: https://github.com/MVCoconut

JavaScript 7.28% Java 31.75% Objective-C 23.01% Haxe 29.48% HTML 1.33% Starlark 3.08% Ruby 4.06%

examples-react-native's People

Contributors

back2dos avatar dependabot[bot] avatar kevinresol avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

examples-react-native's Issues

App warns at startup and crashes if one tries to create a todo

I've tried building for Android and it builds, but the app shows a warning on startup and if you try for example to add a new todo it crashes.

Build steps:

  1. lix download
  2. haxe android.hxml
  3. cd bin
  4. yarn
  5. yarn exec react-native run-android

The application start as expected in the emulator, but the following warning appears just at startup: Warning, can't call setState on a component that is not yet mounted. This is a no-op, [...].

And if you try to create a new todo, it crashes when pressing Enter:

Screenshot_1553865190

List rendering glitch

Haven't tested the mobile versions but I tested the web target.

When rendering the list, given you've added items, it will incorrectly render additional duplicate or zombie items. I think it has something to do with the virtual Dom not being able to correctly differentiate item updates between renders. Looks like it is happening because we're using an object as a key instead of a identifier like a string or integer.

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.