Mar.10

Installing lodash javascript

lodash javascript library for mapping the

It is used to generate the array with the range.

 

installing lodash

lodash javascript

D:\\start\vidly>npm i lodash@v4.17.10

 

importing it in to required page

import _ from ‘lodash’;

or

//import lodash from ‘lodash’;
+++++++++++++++++++++++++++++++++++++++++
Notification on error
+++++++++++++++++++++++++++++++++++++++++
 
 : npm  install react-toastify@4.1
Need to install toastify module.
import it in to top of the Component.
+++++++++++++++++++++++++++++++++++++++++
Track User/Product error message into online system
Sentry
Ravin
+++++++++++++++++++++++++++++++++++++++++
www.sentry.io is the one of the best application to save our error message.
installation
:npm i raven-js@3.26.4
install the module
+++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++
Sentry browser installation in
React
+++++++++++++++++++++++++++++++++++++++++++
or install
: npm i @sentry/browser
Initialized into the top page of application with your authorized code.
…………………………
initialized sentry

…………………………
Sentry.init({
dsn:”https://454938bc56074cadaa3e6317e9d6061e@sentry.io/1415291″
});
…………………………
To call sentry

…………………………
Sentry.captureException(error);
error is param to send error message.
Share this Story:
  • facebook
  • twitter
  • gplus

Leave a comment

Facebook Comment