diff --git a/packages/docs-reanimated/docs/reanimated-babel-plugin/about.md b/packages/docs-reanimated/docs/reanimated-babel-plugin/about.md index ad872a741fb..cb1b9a5b1f0 100644 --- a/packages/docs-reanimated/docs/reanimated-babel-plugin/about.md +++ b/packages/docs-reanimated/docs/reanimated-babel-plugin/about.md @@ -128,7 +128,7 @@ const workletContextObject = { #### [Experimental] Worklet Classes -[Hermes](https://github.com/facebook/hermes), the JavaScript engine used by React Native, doesn't support classes. Class syntax requires [polyfilling]() before it can be used, which is problematic for the UI thread. To work around this, we coined the term of **Worklet Classes**. Worklet classes can be instantiated on the UI thread. +[Hermes](https://github.com/facebook/hermes), the JavaScript engine used by React Native, doesn't support classes. Class syntax requires [polyfilling](https://en.wikipedia.org/wiki/Polyfill_%28programming%29) before it can be used, which is problematic for the UI thread. To work around this, we coined the term of **Worklet Classes**. Worklet classes can be instantiated on the UI thread. `__workletClass` is a special property that marks a class as a Worklet Class. It's value doesn't matter, but it's a good practice to use `true` as a value. `'worklet'` directive in methods will be ignored if the class has this property. diff --git a/packages/docs-reanimated/src/components/Testimonials/TestimonialList/index.tsx b/packages/docs-reanimated/src/components/Testimonials/TestimonialList/index.tsx index 4d3542166c1..22c445a2024 100644 --- a/packages/docs-reanimated/src/components/Testimonials/TestimonialList/index.tsx +++ b/packages/docs-reanimated/src/components/Testimonials/TestimonialList/index.tsx @@ -39,7 +39,7 @@ const items = [ link: 'https://twitter.com/bran_aust/status/1754907731536863670', image: { alt: 'brandon austin', - src: 'https://pbs.twimg.com/profile_images/1764586254145130496/gb774OEv_400x400.jpg', + src: 'https://pbs.twimg.com/profile_images/1807358745401286656/u6hI6CYo_400x400.jpg', }, }, { @@ -49,7 +49,7 @@ const items = [ link: 'https://twitter.com/codewithnomi_/status/1754910812584436199', image: { alt: 'syed noman', - src: 'https://pbs.twimg.com/profile_images/1739613764855738369/BG90fzKe_400x400.jpg', + src: 'https://pbs.twimg.com/profile_images/1830471268178546688/ZmDKS2cM_400x400.jpg', }, }, { diff --git a/packages/docs-reanimated/versioned_docs/version-1.x/examples.md b/packages/docs-reanimated/versioned_docs/version-1.x/examples.md index dacbfe3c13a..73b2c0dffd3 100644 --- a/packages/docs-reanimated/versioned_docs/version-1.x/examples.md +++ b/packages/docs-reanimated/versioned_docs/version-1.x/examples.md @@ -4,7 +4,7 @@ title: Examples sidebar_label: Examples --- -The source code for the example (showcase) app is under the [`Example/`](https://github.com/software-mansion/react-native-reanimated/blob/main/Example/) directory. +The source code for the example (showcase) app is under the [`Example/`](https://github.com/software-mansion/react-native-reanimated/tree/v1/Example) directory. In order to run it you need to run those commands (starting at main directory): diff --git a/packages/docs-reanimated/versioned_docs/version-2.x/fundamentals/animations.md b/packages/docs-reanimated/versioned_docs/version-2.x/fundamentals/animations.md index a1dbe25bebf..130eaa8f6ad 100644 --- a/packages/docs-reanimated/versioned_docs/version-2.x/fundamentals/animations.md +++ b/packages/docs-reanimated/versioned_docs/version-2.x/fundamentals/animations.md @@ -168,7 +168,7 @@ offset.value = withTiming(0, { ``` You may want to visit [easings.net](https://easings.net/) and check various easing visualizations. -To learn how to apply these please refer to the [Easing.ts](https://github.com/software-mansion/react-native-reanimated/blob/main/src/reanimated2/Easing.ts) file where all the easing related helper methods are defined. +To learn how to apply these please refer to the [Easing.ts](https://github.com/software-mansion/react-native-reanimated/blob/Reanimated2/src/reanimated2/Easing.ts) file where all the easing related helper methods are defined. ### Spring diff --git a/packages/docs-reanimated/versioned_docs/version-2.x/guide/testing.md b/packages/docs-reanimated/versioned_docs/version-2.x/guide/testing.md index 02661f7bcf6..61e8d7ac586 100644 --- a/packages/docs-reanimated/versioned_docs/version-2.x/guide/testing.md +++ b/packages/docs-reanimated/versioned_docs/version-2.x/guide/testing.md @@ -105,8 +105,8 @@ test('stop in a middle of animation', () => { More example tests you can see in our repository -- [SharedValue.test.js](https://github.com/software-mansion/react-native-reanimated/blob/main/__tests__/SharedValue.test.tsx) -- [Animation.test.js](https://github.com/software-mansion/react-native-reanimated/blob/main/__tests__/Animation.test.tsx) +- [SharedValue.test.js](https://github.com/software-mansion/react-native-reanimated/blob/Reanimated2/__tests__/SharedValue.test.js) +- [Animation.test.js](https://github.com/software-mansion/react-native-reanimated/blob/Reanimated2/__tests__/Animation.test.js) ## Recommended testing library diff --git a/packages/react-native-reanimated/scripts/validate-urls.js b/packages/react-native-reanimated/scripts/validate-urls.js index 679425e4118..a54e42034e3 100644 --- a/packages/react-native-reanimated/scripts/validate-urls.js +++ b/packages/react-native-reanimated/scripts/validate-urls.js @@ -44,7 +44,7 @@ async function getFileAndUrls(dir) { let urls = Array.from(fileContent.matchAll(urlRegex), (m) => m[0]); urls = urls.filter((url) => !/({|})/.test(url)); return urls.length > 0 - ? urls.map((url) => ({ file: resource, url: url })) + ? urls.map((url) => ({ file: resource, url })) : []; } else { return []; @@ -69,7 +69,8 @@ function validUrls(data) { if ( currentData.url.includes('twitter.com') || // redirect issue currentData.url.includes('blog.swmansion.com') || // authorization issue - currentData.url.includes('opensource.org') // request from GitHub actions probably blocked + currentData.url.includes('opensource.org') || // request from GitHub actions probably blocked + currentData.url.includes('good+first+issue') // sometimes we don't have any issues with this label ) { index++; sendRequest();