Comments (4)
hey @naamapps !
I think it is not related to Angular. it should be agnostic to the js framework.
it might be related to your js bundler, like Webpack or whatever you use. and how things are transpiled/compiled in your project.
I've created Angular codesandbox. It seems to work well. check it here:
https://codesandbox.io/s/heuristic-fermi-b1vi6?file=/src/app/app.component.ts
from sol-rayz.
Hi, im having some problems in the deployment. I just add all the files in my src folder. And show me this error. How i have to call the function useWalletNfts?? You have any code example please!!
Thanks for this!
Could not load source file "../src/index.ts" in source map of "../node_modules/@nfteyez/sol-rayz-react/dist/index.js" (think that is fixed for now)
Here i have an image where im executing the tsx code. What i have to do after this..? first time using react.
The counter is only the filename, im arriving at the console.log("here"); But at the console.log thow me error about hook.
from sol-rayz.
hey @marcsabate7
I've updated README with proper example:
https://github.com/NftEyez/sol-rayz/blob/main/packages/sol-rayz-react/README.md
1st of all these are React Hooks and can't be used with classes only with functional components. Google the difference. e.g.
https://dev.to/mehmehmehlol/class-components-vs-functional-components-in-react-4hd3
Also, here is more detailed example on how to fetch wallet NFTs with this hook:
https://github.com/thuglabs/create-dapp-solana-nextjs/blob/main/src/views/GalleryView/index.tsx
from sol-rayz.
I'm also running into this issue.
The error comes from typescript when setting skipLibCheck to false. The issue is that the referenced file ../types
does not exist in the bundle.
from sol-rayz.
Related Issues (15)
- it seems that an import is missing in utils.ts HOT 13
- Support for new solana metadata spec HOT 4
- Module not found error HOT 3
- Support getParsedAccountByMint in react library HOT 4
- example of createConnectionConfig HOT 2
- dependency errors HOT 1
- BUG: Get NFTs parsed accounts by owner fails for certain wallets
- ReferenceError: TextEncoder is not defined HOT 1
- limit is missing from useWalletNfts hook HOT 3
- AngularJS adaptation HOT 3
- URI call got in getParsedNftAccountsByOwner creates a CORS issue HOT 4
- Returning 429 error when getting solana NFTs HOT 1
- Getting 403's HOT 2
- get nft image HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sol-rayz.