投稿時間:2023-02-04 21:07:45 RSSフィード2023-02-04 21:00 分まとめ(9件)
カテゴリー等 | サイト名等 | 記事タイトル・トレンドワード等 | リンクURL | 頻出ワード・要約等/検索ボリューム | 登録日 |
---|---|---|---|---|---|
IT | 気になる、記になる… | 楽天市場、ポイントが最大44倍になる「お買い物マラソン」のキャンペーンを開始(2月11日まで) | https://taisy0.com/2023/02/04/168092.html | 楽天市場 | 2023-02-04 11:53:52 |
python | Pythonタグが付けられた新着投稿 - Qiita | Rust研究:Pythonスクリプトの呼び出し | https://qiita.com/hama2/items/a4accaee7fed650f81ee | 呼び出し | 2023-02-04 20:46:39 |
python | Pythonタグが付けられた新着投稿 - Qiita | Python + Tkinter - 統計的な調査に要する標本サイズを算出するアプリ | https://qiita.com/K_Nemoto/items/b1e8e2cb9e8e87c1eee6 | https | 2023-02-04 20:42:02 |
js | JavaScriptタグが付けられた新着投稿 - Qiita | Reactとmaterial-uiを用いたアプリでCarouselを実装する方法 | https://qiita.com/Akaikitune/items/0effc2461faac907029f | carousel | 2023-02-04 20:57:57 |
Git | Gitタグが付けられた新着投稿 - Qiita | git | https://qiita.com/snct_hu/items/1b76455d545f12cfd84a | formatpyp | 2023-02-04 20:41:34 |
Ruby | Railsタグが付けられた新着投稿 - Qiita | 【Rails×MySQL】utf8mb4対応でよく書かれている"encoding"と"charset"の、それぞれの役割について調べた→charsetが使われている場所が無かった | https://qiita.com/nanashisan_prog/items/361e70f963fb54c53c08 | charset | 2023-02-04 20:29:47 |
技術ブログ | Developers.IO | リファレンスゲノムがまだこの世に存在しないけど Omics Storage へリードを保存したいときに試した方法 | https://dev.classmethod.jp/articles/omics-storage-no-references-but-want-to-import-reads/ | omicsstorage | 2023-02-04 11:55:13 |
海外TECH | DEV Community | Intro to React Native: Develop mobile apps | https://dev.to/tusharyaar/intro-to-react-native-develop-mobile-apps-3eon | Intro to React Native Develop mobile appsSo you want to develop a mobile application but don t want to learn the the platforms native language swift for iOS or Java Kotlin for Android or you just stumbled upon this post and wondered what react native is well this post if for you Note I won t go into actual coding but rather into a glimpse of react native world What is React Native Simply put react native or RN is a JavaScript framework which allows you to write native apps using JavaScript Note I said native apps instead of mobile apps Reason I will go in depth later but using react native you can write mobile apps iOS and Android desktop apps Windows and MacOS and heck even VR Though in this post I will mainly focus on mobile apps It is maintained by Meta formally Facebook and was released in As of writing February is the latest release Do companies use React Native Short answer Yes Many companies use react native for their mobile apps like Tesla Microsoft and many companies are migrating to react native like Shopify You can read their migration blog here You can also look into the entire React Native Showcase What are some benefits of using React Native Single code baseYou only need to learn language and you can code apps for both Android and iOS Also you get other benefits of maintaining a single code base like less time to market faster MVP etc Easy Development EnvironmentIt doesn t forces you to work with XCode or Android Studio heck it doesn t even require you to have them installed if you use expo more on that later You can work with any IDE of your choice even notepad Share Code with webSince it uses Javascript and if you have a website as well you could share some of the logic thus saving your time and sanity CommunityReact Native as with any Javascript framework benefits from its MASSIVE community Also most of the packages that work for react work for react native as well and for those that doesn t there are packages for that as well Other BenefitsThese benefits aren t exactly exclusive to RN but it enjoys those features such as OTA over the air Updates Hot Reload in development and Component Libraries So are there any Prerequisites As with any framework yes there are some Prerequisites and some things that are good to know PrerequisitesThese are the things that are more or less required before you get started with React Native JavascriptJavascript is a programming language of the web Though it is used to write anything and its about time you learn Javascript if you haven t already “Any application that can be written in JavaScript will eventually be written in JavaScript Atwood s Law ReactAccording to me learning react is a must before you get into React Native though some might disagree Why you ask In a way you can put react native as a separate framework which builds upon react so if you are learning react native you indirectly are learning react It would be like learning to ride a motorcycle without learning to ride a bicycle Good To Know TypescriptTypescript is basically Javascript but more strict It add types to Javascript which leads us to writing less error prone code It also enables auto complete on VSCode which is nice to have Android Studio or XCodeThis is more of a good to have software I know that I mentioned that you can work without it but then you will have to plug your phone every time you develop which is cumbersome Also these software provide emulators which you can use which is much easier and also provide some other tools for performance measurement and enhancement Are there any Caveats Well yes PerformanceCompared to Native App it still lags in performance Though its not like it is extremely slow Practically speaking you will not even see the difference its only when you compare side by side you might see react native app lag behind by a few micro seconds Middle of MigrationSo currently react native is in the middle of migrating to a new architecture This is not something you need to worry about but the library developers so you might face some incompatibility when upgrading dependencies so be sure to check the docs Custom ModulesThis mainly concerns the hardcore developers with extremely niche scenario but you might not find some components and will have to write your own in native language Getting StartedSo now you are all pumped up to get started we can start However as mentioned earlier I am not going to be teaching how to write RN apps for that there are plenty of tutorials out there on YouTube and Udemy What i will provide though is a guide to how to proceed The best way to get into RN development without getting overwhelmed is expo What is Expo Expo is a managed framework on react native For my React friends consider Next js for React For my non react friends consider Automatic transmission car for a Manual Transmission Car It reduces complexity add features and makes its a pleasant drive One cannot praise expo enough for how much its makes developing in react native easier Simplicity high quality documentation and libraries are not just the only features to use expo Its services like Expo Application Service EAS lets you build for iOS even without owning a MAC It also makes OTA updates super easy And the best part you won t even have to leave expo until you are one of those niche developers with specific use case that expo doesn t have So remember I said RN is in the middle of an architecture migration expo handles that as well so you don t have to worry about incompatibility So yes head to Expo Docs to get started What I would suggest is do as many projects as you can to get good at it and make sure to learn something new in every project you make What are Other Good to know things about React Native Develop for any PlatformAs I said earlier using react native you can develop for any platform and not limited to mobile But its not as easy as it sounds like For desktop apps React native Windows is used which is maintained by folks at Microsoft and still in active development so a lot of things might change For VR app ViroReact is used which is again is in active development So its development is not as convenient as expo and for someone new to react native i won t suggest going that route But once you are experienced not one is stopping you and these are great technologies to develop native apps Update apps Over the AirOver the Air OTA updates allow you to push minor updates to apps without having to wait for an approval The process for publishing apps to play store and app store is after you publish and update your app requires an approval before it is pushed to your users This is a great policy but its becomes unnecessary when you might just need to update some spelling mistakes This is when you can use OTA updates to instantly update the app without going through the whole approval process And yes it is allowed as long as you don t change the functionality drastically You can you Native Code as wellYes RN mainly is about writing Javascript for making you apps but you can also write components and functions in native language and use it And that s actually how meta uses RN in their apps They have not and probably will not migrate their native app to react native but only some screens use react native Can You make games Can you use an aircraft to travel km Yes you can whether or not you should depends on your use case Though if you really want to you can look into react native game engine How can join the community React Native Community is extremely welcoming and it would be great to have you Have a look at the following resources and join them if you like Subredditsr reactnativer expo Twitter AccountsReact NativeExpoCallstack EngineersInfinite Red BlogsReact Native BlogsExpo Blogs PodcastReact Native Radio by Infinite Red ConferencesChain ReactApp js ConfReact Native EU ConclusionReact Native is a great framework and I have been working with it for a year now It is a great time to learn react native when many companies are considering react native for their new apps If you do decide to learn react native let me know it would be an incredible and exciting journey If you made this far thanks for reading It was my first blog in a way and hope you liked it If you have any suggestions or if I missed something let me know | 2023-02-04 11:38:27 |
ニュース | BBC News - Home | The Papers: Dog walker 'fell into river' and Johnson's calls for cuts | https://www.bbc.co.uk/news/blogs-the-papers-64519893?at_medium=RSS&at_campaign=KARANGA | front | 2023-02-04 11:11:30 |
コメント
コメントを投稿