Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Laurent Roger
    @lc3t35
    @syedsimanta03 how do you store todos ? Here, as shown, your todos array is stored in your component as initial state, so each time you reload this component, you get 4 elements in your todos state.... it is not persistently stored ;)
    syedsimanta03
    @syedsimanta03
    @lc3t35 lol. this a demo how the obj looks like when u add one clicking on submit btn
    Mohammed Nasser
    @mohmdalfaha

    Hi there, hope all of you doing well. I am playing around with maps clustering and need little help.

    on Cluster Press: I want to display a list of cards. this feature is available upon pressing a single pin (handlePressedMarker() ) showing a single card in the Flatlist.

    On android the flatlist is never visible and need to fix this.

    Below is the link to the code on snack everything is setup for you.

    https://snack.expo.io/@mohmdalfaha/faha-super-cluster-maps-with-zoom-on-press

    Carlos Alba
    @calba5141114
    Could you guys go show some love to my article on Medium and let me know what you find interesting I have tried out the aforementioned optimizations on my own apps and it seems to work very well. I'm going to release updates with small code snippets and examples of performance comparisons on my own apps but as you know documenting all of this takes time so I'll edit the article once I get it pieced together. https://medium.com/@soradev4/building-optimized-react-native-applications-46cf2b1169a0?source=friends_link&sk=4d96048ed363e7eb3c1903ed401967ce
    Laurent Roger
    @lc3t35
    @calba5141114 yes it needs examples ;)
    Mohammed Nasser
    @mohmdalfaha
    @mohmdalfaha Any help with this will be highly appreciated
    hcantave
    @hcantave

    Hi Guys, I'm facing this issue, I receive an unexpected token here :
    return (

    47 | <Switch>
    | ^
    48 | <Route exact={true} path="/" component={Main} />
    49 | <Route path="/damage" component={ReportDamage} />
    50 | <Route path="/Repair" component={RepairDamage} /> What do you think causing this error The code render () {
    return (
    <Switch>
    <Route exact={true} path="/" component={Main} />
    <Route path="/report-damage" component={ReportDamage} />
    <Route path="/Repair" component={RepairDamage} />
    </Switch>
    )
    }

    Laurent Roger
    @lc3t35
    @hcantave is Switch declared ?
    Laurent Roger
    @lc3t35
    @mohmdalfaha add a contentContainerStyle to your Flatlist : https://snack.expo.io/HkKbe20GS
    contentContainerStyle={styles.contentContainer}
    contentContainer:{ height: '100%'},
    Mohammed Nasser
    @mohmdalfaha
    @lc3t35 I allready have resolved the issues I was encountering, the fixes you applied make the cards transparent which is not what I need. For styling now everything is prefect and the only fix I still need is on pressing a cluster if maps is zoomed to the maximum level then a list of cards must be displayed. Right now the condition is if the length of the list is 2 it shows the list which is not what i want.
    @lc3t35 anyway thanks for the reply
    M4H3NDR4N 5P4RK3R
    @M4H3NDR4N
    Hi guys, I'm new to react native; How to use google sheets with reactnative? how to authorize with google api?
    Mohammed Nasser
    @mohmdalfaha
    I got headache trying to use context api in my app, the way i am trying to use is https://reactjs.org/docs/context.html#classcontexttype here's a snack that I need to fix https://snack.expo.io/@mohmdalfaha/contexttype-example the context value is always undefined??
    hcantave
    @hcantave
    @lc3t35 @lc3t35 Yes, as import { NativeRouter, Route, Switch } from 'react-router-native'
    Praful-cs
    @Praful-cs
    @Praful-cs
    hey guys, I am getting UnhandledPromiseRejectionWarning from Node
    although I handled all promises
    Praful-cs
    @Praful-cs
    and it is getting randomly ...sometimes it gives warning sometimes not
    Laurent Roger
    @lc3t35
    @hcantave did you find where was the typo ?
    srikanth3435
    @srikanth3435
    Can some one share me a boilerplate of new redux app using hooks .. ?
    wuchuanping
    @ping996
    hello, anyone who knows how to porting the RN to tizen system?
    maksgr
    @maksgr_gitlab
    Hello i got an error while connecting redux-offline
    Maybe someone has encountered this
    photo_2019-08-07 17.25.54.jpeg
    Ahmed Rebai
    @Rebaiahmed
    are using the package reacnative-device-info ?
    Arye Shalev
    @pantchox
    Hi guys, who ever has a blog or post on Medium stuff that are related to programming, I am working on a new publishing platform, its my side project and i worked reallllly hard on it - I would love for your feedback! if you love publishing and curating content - PLEASE PM ME :)
    if my message is not following chat room rules i will delete it! thanks.
    maksgr
    @maksgr_gitlab
    @Rebaiahmed yes, on the first screen I determine in what state the app is online or offline
    Here's what i get when connecting redux-offline in store.js
    Screen Shot 2019-08-11 at 12.54.16.png
    dansonserge
    @dansonserge
    Hello guys is there a way to debug asyncstorage without enabling debuging remotely
    hcantave
    @hcantave
    How can I solv)Error: Unable to resolve module warnOnce from node_modules\react-native\Libraries\react-native\react-native-implementation.js: Module warnOnce does not exist in the Haste module mape this error: ' even if the file exist
    @lc3t35 Sorry for the delay , you think it's a typo? I couldn't find find it
    bhanu singh
    @bhanu2795
    can anyone help me out? i am integrating redux with react-navigation and getting an error saying navigation.getChildNavigation is not a function
    Laurent Roger
    @lc3t35
    @bhanu2795 can you share code around the error ? which kind of integration do you want to achieve ? It is not recommended to manipulate navigation state with redux despite possible : https://reactnavigation.org/docs/en/redux-integration.html
    hcantave
    @hcantave
    @lc3t35 @lc3t35 @lc3t35 Couldn't find the ypo error
    Laurent Roger
    @lc3t35
    @hcantave share your code in a gist
    hcantave
    @hcantave
    hcantave
    @hcantave
    I'll share the whole App later
    Laurent Roger
    @lc3t35
    there is no Switch in react-router-native, use react-router
    hcantave
    @hcantave
    Thanks, I've made the change by using both React-router & React-router-native because of the BackButton
    hcantave
    @hcantave
    But Not I have this error: "Unexpected string literal ./environment/validate.fx import call expects exactly one argument"
    But now I have this error: "Unexpected string literal ./environment/validate.fx import call expects exactly one argument"
    Sky
    @yihuan
    Hello, anyone encountered this issue before? TypeError: Cannot read property 'collections' of undefined. It happens for a simple find function calling the find function of model without parameter. But I don’t know what caused this, once it happened, it will keep printing this error until I restart the server.
    Laurent Roger
    @lc3t35
    @yihuan test if your object exists before accessing collections attribute.
    Sky
    @yihuan
    Thanks Laurent @lc3t35 , to be honest, that I found I send the message to the wrong room. I didn’t find where my message is until you replied.
    Mohit Yadav
    @Mohit-gwg
    Hi everyone,
    I am trying to resolve the error: "null is not an object(trackplayer.state_none)", but this error still exists.
    I checked many times to find undefined trackplayer but got no-undefined Trackplayer in my project code. And tried many times removing and installing node_modules for hope to get free from this error, but got no luck.
    Please anybody help me to suggest why this error comes and how to get free from this undefined.
    I am new to react-native.
    Laurent Roger
    @lc3t35
    @Mohit-gwg can you share the red screen and related code ?
    Laurent Roger
    @lc3t35
    the problem is in react-native-track-player
    Laurent Roger
    @lc3t35
    you can get support from their Discord channel