Skip to content
This repository has been archived by the owner on Sep 28, 2024. It is now read-only.

Commit

Permalink
vault backup: 2023-12-09 16:20:50
Browse files Browse the repository at this point in the history
  • Loading branch information
liamfrazer committed Dec 9, 2023
1 parent ea4d2e4 commit f29cc36
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion docs/React/The Complete Guide Docs/import and export.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,14 @@ import { apiKey } from "./utils";
* This will instead be handled by the build process behind the scenes

* **For the import and export keywords to function, we must ensure to use the type `module`**
*

* When adding the `default` keyword, I'm stating that the value provided should be the default item to be important
* You can only have one `default` export per file
```js
export default "adada";
```
```js
import apiKey from "./utils.js"
```

* If you have named exports, especiall

0 comments on commit f29cc36

Please sign in to comment.