---
title: "Hsiangyu Hu (@hsiang) | Hashnode"
description: "Software Engineer. Read the latest articles by Hsiangyu Hu on Hashnode."
url: "https://hashnode.com/@hsiang"
---

@hsiang

# Hsiangyu Hu

@hsiang · UK · Joined June 2019

Software Engineer

## Comments

[Here's an example of how you could do diffing export const removedPath = (paths, target) => { return paths.filter(path => path !== target); }; import {removedPath} from './index'; const targetOne = \[ \[1, 1\], \[1, 2\], \[1, 3\], \[1, 4\], \]; const targetTwo = \[ \[2, 1\], \[2, 2\], \[2, 3\], \[2, 4\], \]; const originPath = \[targetOne, targetTwo\]; describe('removedPath', () => { test('should remove targetOne and left targetTwo', () => { const result = removedPath(originPath, targetOne); expect(result).toEqual(\[targetTwo\]); }); test('should remove nothing', () => { const result = removedPath(\[targetTwo\], targetOne); expect(result).toEqual(\[targetTwo\]); }); });](https://hashnode.com/posts/how-to-do-freehand-tracing-with-react-native/630c91c443d7308e3e3264e2/comment/65ccbc9443da7222f04c3a90)

Comment · Article · Feb 14, 2024 · [How to do freehand tracing with React Native?](https://hashnode.com/posts/how-to-do-freehand-tracing-with-react-native/630c91c443d7308e3e3264e2)

[Unfortunately the source code wasn't intend to open source.](https://hashnode.com/posts/how-to-do-freehand-tracing-with-react-native/630c91c443d7308e3e3264e2/comment/64d2b04a32895e0c90ef6be4)

Comment · Article · Aug 8, 2023 · [How to do freehand tracing with React Native?](https://hashnode.com/posts/how-to-do-freehand-tracing-with-react-native/630c91c443d7308e3e3264e2)

[Hey Amit, I guess the issue is around react-native-fs while getting the image path ?](https://hashnode.com/posts/how-to-do-freehand-tracing-with-react-native/630c91c443d7308e3e3264e2/comment/64d2af8ec1b3ce0c7e9343ff)

Comment · Article · Aug 8, 2023 · [How to do freehand tracing with React Native?](https://hashnode.com/posts/how-to-do-freehand-tracing-with-react-native/630c91c443d7308e3e3264e2)
