3.6.103 • Published 1 year ago

@diotoborg/labore-placeat v3.6.103

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@diotoborg/labore-placeat

Build Status Codecov Npm Version Npm Downloads

A simple and reusable React-Native error boundary component 🐛

Install

yarn add @diotoborg/labore-placeat

Documentation

API

ErrorBoundary

These are the props that you can pass to the ErrorBoundary component:

PropertyTypeRequiredDefault
ChildrenReact.Childrentrue
FallbackComponentReact.ComponentfalseFallbackComponent
onErrorFunctionfalse

Children

Any children that can throw an error.

FallbackComponent

The fallback component that will be rendered after catching an error. By default the library comes with a built-in component.

onError

A function that receives two arguments:

  • error: The error catched by the component.
  • stackTrace: The stacktrace of the error.
onError(error: Error, stackTrace: string): void

FallbackComponent

These are the props that the FallbackComponent receives:

PropertyTypeDefault
errorError
resetErrorFunction

error

The error object.

resetError

A function to reset the error state. You'll want to call this function to recover from the error state.

resetError(): void

Demo

javascriptlesscssruntimees-shimstslibECMAScript 3lruutilitiesdescriptionzodgetPrototypeOfsidestartercallbacktypedarrayshrinkwrapphone[[Prototype]]random3dstyled-componentsflattenbabelvisualcollection.es6performancesomeemrexecuteefficientrapidWeakMapArraystringESnextserializerschemeelectronmoveObservablesassertjestvestenvironmentvariables in cssdefinePropertysymlinkscommand-lineconsolesafefullwidthUint8Arrayes-abstractbyteLengthPromisearktypebdddeepclonecss-in-jsjsnpmhas-ownlistenersiterationstatelessfastcloneWeakSetramdagetOwnPropertyDescriptorflagsES3mockingebsreal-timeeffect-tseventEmitterpersistentArray.prototype.includesauthenticationpromisecore-jssigtermforEachES7handlerHyBianimationspeedprivatetranspilerpackage managerserializeReflect.getPrototypeOfstylestelephonetacitcharacterhasOwnjson-schema-validatortostringtagconfigurableoncehashprefixpureforktraversetypeofES2017Pushttydropcolor.gitignoreoutputformUint32Arrayclonejson-schemasuperstructconfigbabel-corenpmignorematchAlltransportintrinsicprototypesetmobileserializationqueueformatquerybyteequalECMAScript 2020validatecolumnCSSStyleDeclarationdeepcopyexpressionassertionTypeBoxfindwidthObject.keysworkerregularlessequalitycompilerexecutilspruneremoverdsmake dirRFC-6455getopttddthreeredux-toolkitsortedeventDispatcherTypeScriptelasticachecallboundweakmapstructuredCloneisglobalsdeep-copytrimtestingglobal objectclassnamesCSSutilitywaapiES2019japanesereact posetypanionflatMaptrimStartinstallbinstreamsposedataviewbcryptbinariessharedexit-codeargsnopehandlerstypedarrayskinesiscommandercryptwaitproptypescriptmomentmatchfpsfindLastfpES6processArray.prototype.findLastIndexenvRxprotobufcontainsObject.getPrototypeOfhttpsnumberloadbalancingECMAScript 2023Int32ArraykoreanObject.definePropertyentriesInt16Arraytermvalidatortypecheckvalidassignietypesafeinputnameenvironmentssyntaxspinnersharedarraybufferbufferimmutablestablesymbolsfantasy-landes7flagjQueryreduxselfcloudwatchomitchannelxhrrobustirqJSONclass-validatorstatusglobglobal this valuepackage.jsonagentiteratehelperboundtoArraymodulestypeerrorless compilerconstless.jsbinaryECMAScript 2022predictablefromstoragegatewaywalkjshintswffnmatchvars__proto__Symbol.toStringTagglobalThisES2015Array.prototype.filterrgbstyleguidetc39sesnegative zeroMicrosoftecmascriptqsdeterministicdom-testing-library
3.6.102

1 year ago

3.6.103

1 year ago

3.6.101

1 year ago

3.6.100

1 year ago

3.6.99

1 year ago

3.6.98

1 year ago

3.6.97

1 year ago

3.6.96

1 year ago

3.6.95

1 year ago

3.6.94

1 year ago

3.6.93

1 year ago

3.6.92

1 year ago

3.6.91

1 year ago

3.6.90

1 year ago

3.6.89

1 year ago

3.6.88

1 year ago

3.6.87

1 year ago

3.6.86

1 year ago

2.6.86

1 year ago

2.6.85

1 year ago

2.6.84

1 year ago

2.6.83

1 year ago

2.6.82

1 year ago

2.6.81

1 year ago

2.6.80

1 year ago

2.6.79

1 year ago

2.6.78

1 year ago

2.6.77

1 year ago

2.6.76

1 year ago

2.6.75

1 year ago

2.5.75

1 year ago

2.5.74

1 year ago

2.5.73

1 year ago

2.5.72

1 year ago

2.5.71

1 year ago

2.5.70

1 year ago

2.5.69

1 year ago

2.4.69

1 year ago

2.4.68

1 year ago

2.4.67

1 year ago

2.4.66

1 year ago

2.4.65

1 year ago

2.4.64

1 year ago

2.4.63

1 year ago

2.4.62

1 year ago

2.4.61

1 year ago

2.4.60

1 year ago

2.4.59

1 year ago

2.4.58

1 year ago

2.3.58

1 year ago

2.3.57

1 year ago

2.3.56

1 year ago

2.3.55

1 year ago

2.3.54

1 year ago

2.2.54

1 year ago

2.2.53

1 year ago

2.2.52

1 year ago

2.2.51

1 year ago

2.2.50

1 year ago

1.2.50

1 year ago

1.2.49

1 year ago

1.2.48

1 year ago

1.2.47

1 year ago

1.2.46

1 year ago

1.2.45

1 year ago

1.2.44

1 year ago

1.2.43

1 year ago

1.2.42

1 year ago

1.2.41

1 year ago

1.2.40

1 year ago

1.2.39

1 year ago

1.1.39

1 year ago

1.1.38

1 year ago

1.1.37

1 year ago

1.1.36

1 year ago

1.1.35

1 year ago

1.1.34

1 year ago

1.1.33

1 year ago

1.1.32

1 year ago

1.1.31

1 year ago

1.1.30

1 year ago

1.1.29

1 year ago

1.1.28

1 year ago

1.1.27

1 year ago

1.1.26

1 year ago

1.1.25

1 year ago

1.1.24

1 year ago

1.1.23

1 year ago

1.0.23

1 year ago

1.0.22

1 year ago

1.0.21

1 year ago

1.0.20

1 year ago

1.0.19

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago