Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Stripe x ReactNative でフリマアプリを作った話 - React Nativ...

fxwx23
October 08, 2022

Stripe x ReactNative でフリマアプリを作った話 - React Native Matsuri 2022

fxwx23

October 08, 2022
Tweet

More Decks by fxwx23

Other Decks in Programming

Transcript

  1. ࣗݾ঺հ ɾ౉ᬒ ࢙و (Fumitaka Watanabe) ɾגࣜձࣾNewelse ڞಉ૑ۀऀ݉SWE (2014೥~) ɾGitHub: @fxwx23

    ɾTwitter: @fxwx23 ɾࣗࣾϓϩμΫτͷ։ൃશൠΛ୲౰ (Go, TypeScript)
  2. େ෯ͳUIͷมߋ͕ൃੜ ɾUIKit + Interface Builder ർΕͨ😂 ɾ΄΅৽نViewͰɺ࣮࣭ϑϧϦϓϨΠε ▪ Hot reload

    ͳ͍ͷͰมߋͷ֬ೝ౓ʹBuildɺԹ͔Έͷ͋ΔखಈͷIBOutlet etc ▪ એݴతUI͕ओྲྀʹͳ͖͍ͬͯͯΔ & Interface Builder σΟείϯʹͳΔͷා͍ ɾAndroid΋ग़͍ͨ͠
  3. NSUserDefaults ɾϢʔβʔͷઃఆ৘ใ (Preferences) ΛӬଓతʹอଘ͢Δ͜ͱ͕໨త ɾΞϓϦΛ࡟আ͢Δͱ NSUserDefaults ͸ফ͑Δ ɾNSData, NSString, NSNumber,

    NSDate, NSArray, or NSDictionary ▪ ࢀর: https://developer.apple.com/documentation/foundation/nsuserdefaults
  4. NSDate, NSData ͸ null ѻ͍ ɾRCTJSONClean Ͱॲཧ͞ΕΔσʔλΫϥε͸ݶΒΕΔ ▪ NSString, NSMutableString,

    NSNumber, NSNull ͷΈ ▪ ࢀর: https://github.com/facebook/react-native/blob/main/React/Base/RCTUtils.m#L165 ɾNSUserDefaultsͷσʔλ͸ඞͣ RCTJSONClean Λ௨Δ
  5. Realm JS ɾSwift SDK Ͱ࡞੒ͨ͠σʔλ΋ ಡΈࠐΊΔ ▪ [ ] Ͱ

    Realm.List<T> Λදݱ ▪ ࢀর: https://www.mongodb.com/docs/realm/sdk/react- native/examples/de fi ne-a-realm-object-model/ #supported-property-types ɾSchemaͰఆٛ ɾHermes Support ͸ݱ࣌఺ͰRC
  6. React Native Ͱͷߏ੒ ɾExpo Modules ɾExpo Bare Work fl ow

    ɾRecoil, Sentry, Realm, React Navigation (v6) ɾBase Component
  7. React Native Ͱͷߏ੒ ɾExpo Modules ɾExpo Bare Work fl ow

    ɾRecoil, Sentry, Realm, React Navigation (v6) ɾBase Component
  8. React Native ʹҠߦͯ͠Έͯ ɾ։ൃ଎౓͕֨ஈʹ্͕ͬͨ ▪ ಉ࣌ʹAndroid (or iOS) ͕Ͱ͖͕͋Δͷ͸ΫϩεϓϥοτϑΥʔϜͷ୉ޣຯ ɾTypeScript,

    React ͷ஌ݟԠ༻ͷαΠΫϧ͕ճΔ ɾWebϑϩϯτΤϯυͱͷ༥߹ ▪ React GUI, Expo Router etc ɾΫϥΠΞϯταΠυͷ૯߹֨ಆٕ
  9. ࣗݾ঺հ ɾ౉ᬒ ࢙و (Fumitaka Watanabe) ɾגࣜձࣾNewelse ڞಉ૑ۀऀ݉SWE (2014೥~) ɾGitHub: @fxwx23

    ɾTwitter: @fxwx23 ɾࣗࣾϓϩμΫτͷ։ൃશൠΛ୲౰ (Go, TypeScript)