Usage with Create React App
See original GitHub issueIssue Description
I made an example using this library with react, everything is working fine in development, but in production it looks like starknet.js is throwing a type error. You can open this page to see the error more in detail.
To reproduce locally:
- Clone my example repo
- Build with
yarn run build
- Serve production build with
yarn run serve
Issue Analytics
- State:
- Created a year ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Create a New React App
Create React App is a comfortable environment for learning React, and is the best way to start building a new single-page application in...
Read more >Create React App
Whether you're using React or another library, Create React App lets you focus on code, not build tools. To create a project called...
Read more >facebook/create-react-app: Set up a modern web app ... - GitHub
One Dependency: There is only one build dependency. It uses webpack, Babel, ESLint, and other amazing projects, but provides a cohesive curated experience...
Read more >The React Scripts Start Command – Create-React-App NPM ...
Creating a React application requires you to set up build tools such as Babel and Webpack. These build tools are required because React's...
Read more >Use in create-react-app - Ant Design
Below is the default directory structure. ... Now we install antd from yarn or npm. ... Modify src/App.js , import Button component from...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This helps:
in package.json
The issue is that native BigInt support is required atm
Users who build on the web should probably use
next.js
as there is an issue with the following packages:https://github.com/0xs34n/starknet.js/issues/172
https://github.com/0xs34n/starknet.js/issues/131