23 Matching Annotations
  1. Apr 2023
    1. manter um estado local em uma função de um compo-nente funcional

      Um Hook em React Native é uma função que permite que um componente funcional tenha um estado interno e execute efeitos colaterais, sem a necessidade de criar componentes de classe.

      O useState é um dos Hooks mais utilizados Ele permite manter um estado local em uma função de um componente funcional. Para usá-lo, declara-se uma variável e uma função de atualização de estado usando o useState Hook

  2. Mar 2023
  3. Sep 2022
  4. Mar 2022
  5. Mar 2021
  6. Sep 2020
  7. Jul 2020
    1. We all are familiar; nowadays, mobile and mobile applications are more predominant than ever. This extensive popularity has been gained with the fact that smartphones have become much cheaper and faster.
  8. May 2020
  9. Apr 2020
  10. Mar 2020
  11. Nov 2019
    1. Wow, looks like a lot of duplication in https://github.com/constelation/monorepo/blob/master/packages/Style_/src/index.native.tsx compared to https://github.com/constelation/monorepo/blob/master/packages/Style_/src/index.tsx to handle differences in props on the different platforms such as backfaceVisibility.

      And even structure/shape differences like:

      const style = { ...styleFromProps, ...this.props.style, ...Child.props.style }


          propsToPass.style = [styleFromProps, this.props.style, Child.props.style]

      Is there no way to remove this duplication?

  12. Oct 2019
  13. Sep 2019
    1. # CocoaPods on iOS needs this extra step

      I think I was missing this step, as it isn't included in the warning message from the CLI anywhere.

      error React Native CLI uses autolinking for native dependencies, but the following modules are linked manually: 
        - @react-native-firebase/app (to unlink run: "react-native unlink @react-native-firebase/app")
        - @react-native-firebase/auth (to unlink run: "react-native unlink @react-native-firebase/auth")
        - @react-native-firebase/database (to unlink run: "react-native unlink @react-native-firebase/database")
        - @react-native-firebase/firestore (to unlink run: "react-native unlink @react-native-firebase/firestore")
        - @react-native-firebase/storage (to unlink run: "react-native unlink @react-native-firebase/storage")
        - react-native-camera (to unlink run: "react-native unlink react-native-camera")
        - react-native-fs (to unlink run: "react-native unlink react-native-fs")
        - react-native-image-picker (to unlink run: "react-native unlink react-native-image-picker")
        - rn-fetch-blob (to unlink run: "react-native unlink rn-fetch-blob")
      This is likely happening when upgrading React Native from below 0.60 to 0.60 or above. Going forward, you can unlink this dependency via "react-native unlink <dependency>" and it will be included in your app automatically. If a library isn't compatible with autolinking, disregard this message and notify the library maintainers.
      Read more about autolinking: https://github.com/react-native-community/cli/blob/master/docs/autolinking.md
  14. Oct 2018
  15. Dec 2015
    1. ClojureScript + React Native Resources for developers using ClojureScript to build React Native apps.

      ClojureScript + React Native

  16. Nov 2015
  17. Aug 2015