maxgraey / react-native-console-time-polyfill Goto Github PK
View Code? Open in Web Editor NEWconsole.time and console.timeEnd polyfill for react-native
License: MIT License
console.time and console.timeEnd polyfill for react-native
License: MIT License
Hi, any chance of supporting
https://developer.mozilla.org/en-US/docs/Web/API/Console/timeLog
Where the result will show? In terminal console?
I used it for my android app. How to show it as text in alert? Thanks ^^
From Readme's Output section:
Example init: 200ms
I'm seeing an extra .000
precision added.
It looks like it's always reading exactly zero thousandths, even though this is timing a network call which has no reason to be that exact. In other words, I think it's not just unnecessary but incorrect.
console.time('Example')
fetch(example).then((res) => {
console.timeEnd('Example')
})
node: v12.16.3
macOS: 10.15
"react": "16.11.0",
"react-native": "0.62.0",
"react-native-console-time-polyfill": "^1.2.1",
It's written react-rative
instead of react-native
.
I am getting this error in the packager. Any idea how to fix it? This package used to work for me. The error started after moving to react-native v0.56.
error: bundling failed: Error: While resolving module `react-native/Libraries/Performance/RCTRenderingPerf`, the Haste package `react-native` was found. However the module `Libraries/Performance/RCTRenderingPerf` could not be found within the package.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.