Davyd NRB

Results 207 comments of Davyd NRB

Let's try look at it from developer perspective - official docs it is a source of truth for him/her He/She creates a new React Native project then add typescript support,...

> Does Hermes support all of these features? @tido64 Now I can answer this question, All `es2019` lib features supported by the 3 latest Hermes versions ![image](https://user-images.githubusercontent.com/4661784/174909746-d40609b5-897b-4b52-92a0-c58be683d318.png) See more: https://retyui.github.io/react-native-compat-table/

> In TypeScript 4.5, lib files can be overriden by npm modules, find out more [in the blog](https://devblogs.microsoft.com/typescript/announcing-typescript-4-5-beta/#supporting-lib-from-node_modules). also, we can define [custom lib](https://github.com/microsoft/TypeScript/blob/main/lib/lib.es2017.d.ts) ```json { "dependencies": { "@typescript/lib-2017": "npm:@types/hermes-0-11-0"...

- https://github.com/react-native-community/react-native-template-typescript/blob/5b22365750a285feddf7a3db26450cda4fe4cd1d/template/tsconfig.json#L3 - https://github.com/tsconfig/bases/blob/96274973952a623d9f2e310987ceb4a19dcc362c/bases/react-native.json#L10

**UPD:** `Promise.allSettled` PR was merged - https://github.com/then/promise/pull/171#issuecomment-1232851241 - https://github.com/facebook/react-native/pull/34544

When forgot using Animated.View: [code =>](https://gist.github.com/retyui/2097cb5b4a8173a45def4582a80f0b68) ```java Error while updating property '' in shadow node of type: RCTView null Value for width cannot be cast from ReadableNativeMap to Double updateShadowNodeProp...

Just exclude Flipper from Podfile (is a ruby file) ![image](https://user-images.githubusercontent.com/4661784/120549589-778f7f80-c3fc-11eb-8517-b43d8b507cad.png) > https://github.com/facebook/flipper/issues/1326#issuecomment-788223247

To get vimeo video thumbnail image: ``` # https://vimeo.com/api/v2/video/.json curl https://vimeo.com/api/v2/video/259730902.json ``` reseponse: ```js [ { id: 259730902, title: 'Freedom ballet AM:PM', description: 'Created by Konstantin Gordienko\r\nCamera Yevgeniy Sakhno\r\nEdit Konstantin...

@lucasbento I can create PR, but need to decide how will called this prop: `PlayIconCompoennt={}` `renderIconPlayIcon = () => `