Skip to content

kawgh1/coinbase-clone-react-native

Repository files navigation

Things I added

  • Really went to town with the Coin Gecko API - it's really clear and easy to use!

  • Added custom styling and conditional price formatting to accomodate for both very large prices like Bitcoin at $63,000 and very small prices like Shiba Inu at $0.00007146

  • Styling

    • Made price change %s conditionally red or green if > or < 0, added + and -

    • Add commas to prices over $1,000 when displayed by .map()

      function numberWithCommas(x) { return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ","); }

  • Improved Folder structure

  • Got the status tabs working on the "Prices" screen using conditional rendering

    • User can click "Gainers" to show only coins with positive 24 hour change or "Loser" to show only coins with negative 24 hour change
  • Deployment

Notes

About

Coinbase close in React Native for web

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published