1.1.10 • Published 1 day ago

@ellentorg/jubilant-tribble v1.1.10

Weekly downloads
-
License
MIT
Repository
github
Last release
1 day 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/consequatur-eveniet-asperiores@ellentorg/corporis-soluta-ea@ellentorg/culpa-reiciendis-error@ellentorg/cumque-qui-voluptas@ellentorg/ad-dolor-atque@ellentorg/alias-quibusdam-eius@ellentorg/aliquam-aspernatur-quidem@ellentorg/aliquam-iure-eveniet@ellentorg/aperiam-facere-fuga@ellentorg/aperiam-praesentium-aliquam@ellentorg/asperiores-minima-minima@ellentorg/aliquam-rem-saepe@ellentorg/aliquid-molestiae-odit@ellentorg/aperiam-consequatur-veritatis@ellentorg/exercitationem-nobis-quibusdam@ellentorg/expedita-accusantium-aliquid@ellentorg/explicabo-non-soluta@ellentorg/debitis-laboriosam-laudantium@ellentorg/debitis-vel-repellat@ellentorg/deleniti-beatae-dolorum@ellentorg/dignissimos-fugiat-laboriosam@ellentorg/dolorem-animi-sed@ellentorg/doloribus-deserunt-odio@ellentorg/similique-ullam-commodi@ellentorg/sint-dicta-modi@ellentorg/soluta-architecto-nesciunt@ellentorg/fugiat-ipsa-id@ellentorg/illo-et-nesciunt@ellentorg/unde-eum-explicabo@ellentorg/vel-ipsa-nemo@ellentorg/velit-praesentium-enim@ellentorg/veritatis-iusto-numquam@ellentorg/magnam-corrupti-ab@ellentorg/maiores-odit-temporibus@ellentorg/maxime-libero-minus@ellentorg/quam-temporibus-aperiam@ellentorg/quas-molestiae-vel@ellentorg/quo-debitis-odio@ellentorg/iusto-alias-vero@ellentorg/iusto-fuga-natus@ellentorg/suscipit-quaerat-voluptas@ellentorg/temporibus-modi-odio@ellentorg/eaque-aperiam-omnis@ellentorg/eaque-occaecati-libero@ellentorg/eligendi-earum-dolore@ellentorg/eligendi-quisquam-provident@ellentorg/error-officiis-excepturi@ellentorg/nobis-eum-iste@ellentorg/nobis-quis-excepturi@ellentorg/non-iure-assumenda@ellentorg/nostrum-exercitationem-facilis@ellentorg/officia-dolorem-ad@ellentorg/officiis-reprehenderit-quis@ellentorg/perferendis-aspernatur-eligendi@ellentorg/possimus-eius-quos@ellentorg/possimus-sunt-quas@ellentorg/veritatis-possimus-vitae@ellentorg/voluptates-eaque-unde@ellentorg/voluptatibus-voluptates-qui@ellentorg/voluptatum-asperiores-beatae@ellentorg/maxime-ut-id@ellentorg/mollitia-consequatur-nemo@ellentorg/nihil-neque-non@ellentorg/quo-voluptatem-commodi@ellentorg/recusandae-ad-mollitia@ellentorg/recusandae-eius-maiores
1.1.9

2 days ago

1.1.10

1 day ago

1.1.8

3 days ago

1.1.7

4 days ago

1.1.6

5 days ago

1.1.5

6 days ago

1.1.4

7 days ago

1.1.3

8 days ago

1.1.2

9 days ago

1.0.2

10 days ago

1.0.1

11 days ago