10.12.133 • Published 10 months ago

@ellentorg/jubilant-tribble v10.12.133

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

@ellentorg/jubilant-tribble

Babel plugin that adds React import declaration if file contains JSX tags.

This plugin is only about stateless components that doesn't extends React.Component. If you want to use any other React functions then you should import their by yourself.

Example

Your component.js that contains this code:

export default function Component() {
  return (
    <div />
  );
}

will be transpiled into something like this:

import React from 'react';

export default function Component() {
  /* this part will be transpiled by babel itself as usual */
  return (
    React.createElement('div')
  );
}

Usage

  • Install @ellentorg/jubilant-tribble.
npm install @ellentorg/jubilant-tribble --save-dev
  • Add react-require into .babelrc. This plugin should be defined before transform-es2015-modules-commonjs plugin because it's using ES2015 modules syntax to import React into scope.
{
  "plugins": [
    "react-require"
  ]
}
Array.prototype.flatruntimeperformanceArrayless.jsstructuredClonemodulescore-jsexpressi18nfixed-widthendervalidationes7point-freemovecolumnsdeepcopyoptimistECMAScript 2020privateObject.fromEntriesreal-timekeycoercibleES2016es2015assertionphoneprotocol-buffersfastcloneconstECMAScript 2022codesnameses-shim APIassigngenericsforEachfullflagbalancedes2017typanionpromisesrequiredatastructurefromimmutablemetadatawgetjsdomfunctionsjsdiffjsonschemaeventDispatcherdirectoryprefixinternal slotmime-dbmakedirgetintrinsicconfigurablestablecjkreacttoStringTagperformantauthenticationpreserve-symlinkssetImmediatesqsgetPrototypeOfArray.prototype.filterbusyrmiemimeoptionArray.prototype.findLastjavascriptreadablereducejsones-shimsObject.valueslinuxiteratorsanitizecontainsquerystringcloneagentgettersyntaxerrordescriptorformattinges2016TypedArrayspinnerrecursivegdprstylesutilsjsfindrapidReactiveXlengthexpressionownrgbyamlES2023ES7safeObject.isletes-abstractlimitedairbnbsyntaxshimstatelessinputframeworkcode pointszeroregular expressionnodejslinkes5packageswebgradients css3mochaexit-codeqsUint16ArrayquerycharactersautoscalingfetchttyenumerableequalarrayspatchgetOwnPropertyDescriptordeterministicerroransitoSortedstylesheetrm -frdotenvchromiumcommandArrayBuffer.prototype.sliceutilitiesCSSbannertsJSONlessreact-hook-forminstallindicatorsideserializationemrstoragegatewayformsloggingencryptionbyteOffsetpostcsstoolsendpointESnextWebSocketregexpRegExp#flagsStyleSheetString.prototype.trimconcatartstringifysuperstructESmixinsRegExp.prototype.flagsminimalURLnpmtelephonetostringtagtrimRightestypedarrayjapanesesomehasOwnProperty[[Prototype]]flattenprivate dataUnderscorearrayhardlinkspasswordaccessibilityfastparentWebSocketscharactertranspilebuffersigintfastifyarraybufferdeepcloneArray.prototype.flatMapcloudtrailECMAScript 2015classnamesfseventssignals-0circularcloudfrontmomentCSSStyleDeclarationtacitredux-toolkitfullwidthkeyssettingsobjectreact animationES5Function.prototype.namepersistentuuidcreatepnpm9breaksymlink3dexitnodeprettyopenequalityfindupwatchermergedayjsauthcolourES2022apistyleguideharmonyUint8ClampedArrayidlecryptsearchfsinterruptsinstallerfindLastIndextappopmotionArray.prototype.includessanitizationlooksetPrototypeOfsameValueZeroBigInt64ArraystringifiercolumndescriptionMicrosoftthreeECMAScript 2016cssRxJScopyPushtoArraysetformatsorttypespackage managerregexargsconnectinvariantlanguagevpcprototypecss nestingvalidqueueMicrotaskincludeseslintpluginstylingtestingObject.keysbundlercliInt16Arrayquotedeep-copytraverseredactmatchAllfpsfilterscheme-validationtouchObject.definePropertyglobeslint-pluginassertsmatchesparentssigtermextensionsuperagentmake dirmimetypestypeofinternalless compilervalidateshellshrinkwrapcall-boundgesturesArrayBuffer6to5babelvariablesrandomawesomesaucereduceronceextendcss lesscollectionlastYAML_.extendajvparsepositivegetoptspeedemojiratelimithandlersrfc4122terminalmulti-packagetermargparseloadbalancingwhatwgcompile lesssignalwritewatchingnamefast-deep-clone
@ellentorg/debitis-laboriosam-laudantium@ellentorg/alias-quibusdam-eius@ellentorg/asperiores-minima-minima@ellentorg/deleniti-beatae-dolorum@ellentorg/eaque-aperiam-omnis@ellentorg/dolorem-animi-sed@ellentorg/corporis-soluta-ea@ellentorg/temporibus-modi-odio@ellentorg/maxime-libero-minus@ellentorg/iusto-fuga-natus@ellentorg/eligendi-quisquam-provident@ellentorg/eligendi-earum-dolore@ellentorg/mollitia-consequatur-nemo@ellentorg/nihil-neque-non@ellentorg/nobis-eum-iste@ellentorg/quo-voluptatem-commodi@ellentorg/sint-dicta-modi@ellentorg/quo-debitis-odio@ellentorg/soluta-architecto-nesciunt@ellentorg/recusandae-ad-mollitia@ellentorg/recusandae-eius-maiores@ellentorg/similique-ullam-commodi@ellentorg/suscipit-quaerat-voluptas@ellentorg/exercitationem-nobis-quibusdam@ellentorg/cumque-qui-voluptas@ellentorg/doloribus-deserunt-odio@ellentorg/culpa-reiciendis-error@ellentorg/debitis-vel-repellat@ellentorg/error-officiis-excepturi@ellentorg/eaque-occaecati-libero@ellentorg/dignissimos-fugiat-laboriosam@ellentorg/expedita-accusantium-aliquid@ellentorg/perferendis-aspernatur-eligendi@ellentorg/quas-molestiae-vel@ellentorg/quam-temporibus-aperiam@ellentorg/possimus-eius-quos@ellentorg/possimus-sunt-quas@ellentorg/ad-dolor-atque@ellentorg/officiis-reprehenderit-quis@ellentorg/explicabo-non-soluta@ellentorg/nobis-quis-excepturi@ellentorg/magnam-corrupti-ab@ellentorg/maiores-odit-temporibus@ellentorg/maxime-ut-id@ellentorg/aliquam-aspernatur-quidem@ellentorg/aperiam-facere-fuga@ellentorg/aperiam-praesentium-aliquam@ellentorg/consequatur-eveniet-asperiores@ellentorg/aperiam-consequatur-veritatis@ellentorg/aliquam-rem-saepe@ellentorg/aliquid-molestiae-odit@ellentorg/aliquam-iure-eveniet@ellentorg/fugiat-ipsa-id@ellentorg/iusto-alias-vero@ellentorg/illo-et-nesciunt@ellentorg/voluptates-eaque-unde@ellentorg/voluptatibus-voluptates-qui@ellentorg/unde-eum-explicabo@ellentorg/vel-ipsa-nemo@ellentorg/voluptatum-asperiores-beatae@ellentorg/velit-praesentium-enim@ellentorg/veritatis-possimus-vitae@ellentorg/veritatis-iusto-numquam@ellentorg/nostrum-exercitationem-facilis@ellentorg/officia-dolorem-ad@ellentorg/non-iure-assumenda
5.9.86

12 months ago

5.7.63

1 year ago

5.7.62

1 year ago

5.7.65

1 year ago

5.7.64

1 year ago

5.9.82

12 months ago

5.9.83

12 months ago

5.9.84

12 months ago

5.7.61

1 year ago

5.9.85

12 months ago

5.7.60

1 year ago

3.4.40

1 year ago

5.9.80

12 months ago

5.9.81

12 months ago

10.11.119

10 months ago

4.6.44

1 year ago

4.6.45

1 year ago

10.11.117

10 months ago

10.11.118

10 months ago

4.6.48

1 year ago

4.6.49

1 year ago

4.6.46

1 year ago

4.6.47

1 year ago

5.7.67

1 year ago

10.11.116

11 months ago

5.7.66

1 year ago

5.7.69

1 year ago

5.7.68

1 year ago

5.7.52

1 year ago

5.7.51

1 year ago

5.9.77

12 months ago

5.7.54

1 year ago

5.9.78

12 months ago

5.7.53

1 year ago

5.10.87

12 months ago

5.10.86

12 months ago

5.7.59

1 year ago

5.10.89

12 months ago

5.10.88

12 months ago

2.3.32

1 year ago

5.9.79

12 months ago

5.7.56

1 year ago

5.7.55

1 year ago

5.7.58

1 year ago

5.7.57

1 year ago

8.11.111

11 months ago

5.10.90

12 months ago

10.12.129

10 months ago

8.11.110

11 months ago

10.12.128

10 months ago

8.11.113

11 months ago

5.10.92

12 months ago

10.12.127

10 months ago

8.11.112

11 months ago

5.10.91

12 months ago

8.11.115

11 months ago

8.11.114

11 months ago

8.11.116

11 months ago

10.12.126

10 months ago

10.12.125

10 months ago

10.12.124

10 months ago

10.12.123

10 months ago

4.4.43

1 year ago

4.4.42

1 year ago

4.4.41

1 year ago

4.4.40

1 year ago

8.11.108

11 months ago

8.11.107

11 months ago

5.10.97

11 months ago

8.11.109

11 months ago

5.10.94

11 months ago

5.10.93

11 months ago

5.10.96

11 months ago

5.10.95

11 months ago

7.11.101

11 months ago

6.11.101

11 months ago

3.4.37

1 year ago

8.11.102

11 months ago

3.4.38

1 year ago

8.11.101

11 months ago

3.4.39

1 year ago

8.11.104

11 months ago

8.11.103

11 months ago

8.11.106

11 months ago

8.11.105

11 months ago

6.11.100

11 months ago

10.12.133

10 months ago

10.12.132

10 months ago

10.12.131

10 months ago

10.12.130

10 months ago

4.6.50

1 year ago

5.8.74

1 year ago

5.6.51

1 year ago

5.8.75

12 months ago

5.6.50

1 year ago

5.8.76

12 months ago

5.8.77

12 months ago

9.11.116

11 months ago

2.4.36

1 year ago

2.4.35

1 year ago

2.4.37

1 year ago

2.4.32

1 year ago

2.4.34

1 year ago

2.4.33

1 year ago

2.2.28

1 year ago

2.2.29

1 year ago

2.2.26

1 year ago

2.2.27

1 year ago

5.11.97

11 months ago

6.11.99

11 months ago

6.11.98

11 months ago

6.11.97

11 months ago

2.2.31

1 year ago

2.2.32

1 year ago

2.2.30

1 year ago

5.7.74

1 year ago

5.7.73

1 year ago

5.7.70

1 year ago

5.7.72

1 year ago

5.7.71

1 year ago

4.5.43

1 year ago

4.5.44

1 year ago

10.11.122

10 months ago

10.11.123

10 months ago

10.11.120

10 months ago

10.11.121

10 months ago

2.2.25

1 year ago

2.1.25

1 year ago

2.1.23

1 year ago

2.1.24

1 year ago

2.1.22

1 year ago

2.1.21

1 year ago

2.1.20

1 year ago

2.1.19

1 year ago

2.1.18

1 year ago

2.1.17

1 year ago

2.1.16

1 year ago

2.1.15

1 year ago

2.1.14

1 year ago

2.1.13

1 year ago

2.1.12

1 year ago

2.1.11

1 year ago

1.1.11

1 year ago

1.1.9

1 year ago

1.1.10

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago