mirror of
				https://github.com/Xahau/xahau.js.git
				synced 2025-11-04 13:05:49 +00:00 
			
		
		
		
	docs: remove Buffer polyfill for react-native (#2595)
React native no longer needs a polyfill after `xrpl@3.0.0-beta.1`
This commit is contained in:
		@@ -40,7 +40,6 @@ If you want to use `xrpl.js` with React Native you will need to install polyfill
 | 
			
		||||
3. Create `polyfills.js` and add
 | 
			
		||||
 | 
			
		||||
```javascript
 | 
			
		||||
if (typeof Buffer === 'undefined') global.Buffer = require('buffer').Buffer
 | 
			
		||||
// Required for TextEncoder/TextDecoder
 | 
			
		||||
import 'fast-text-encoding'
 | 
			
		||||
// Required for `crypto.getRandomValues`
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user