Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
I'm just starting out to learn React, trying to render react from my localhost, but this error seems to be showing, any advice?
By what I can assume, you are probably trying to run a react app in NodeJS, and this wont work.
Since React uses JSX, you'l need to transpile it before it will work there too.
One way to make this work is, develop a react app independently, once your done make a build of the app and then place it inside you NodeJS app folder
Or maybe follow this and this
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 days ago.
Improve this question
How to make a Splide js gallery carousel in React js or Next js? there's not much guidance in the official documentation
Please give me a sample code or any resource on the internet if you know, i've done doing a lot research on the internet
You can use Swiper.js , It has good documentation and used frequently between react developers.
https://swiperjs.com/
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 months ago.
Improve this question
I'am new in Phantom/ Solana universe and I want to create my first web app using Phantom Wallet into my React app. I used the Phantom app documentation to connect to my wallet, that's work.
But now, I want to show in my app some data about the connected wallet like NFT possessed, solana balance and so on.
Does anyone know what should I do ?
Thank you in advance.
You can have my code for this. And will work fine.
CodeSandbox
But remember install #solana/web3.js v1.30.2
If you gone to higher version some extra dependencies and webpack config is needed.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I good learn react. But I know about nextjs I want to use this framework with create-react-app. How can I do? or do have solve problems SSR without nextjs? Where I find good simple good example or tutorial?
If you already have your app with CRA (create-react-app) then you will probably need to migrate into a new next app using npx create-next-app.
This will create a next configuration and then you will need to migrate each component to use this new structure, this is almost straight forward here you have documentation:
https://nextjs.org/docs/migrating/from-create-react-app
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
Are Next.js and Gatsby.js using the split code Loadable Component ?
The loadable component I am talking about is the one recommended by the Facebook team https://github.com/gregberge/loadable-components
I am lazy at searching this.
If you reply I'll give points.
If you're using npm, you may find that out by doing a deep search of dependency tree on your Next.js or Gatsby projects using the npm ls command.
Neither the latest version of Next.js, nor Gatsby use the package you specified.
Next.js implements this feature with dynamic imports.
And Gatsby has a separate plugin for the job: gatsby-plugin-loadable-components.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
want to know the difference between Angular JS and React JS. what are all the key features both of them has.
Can somebody guide me here.
Angular js
Two way binding
Uses observables to track changes
Contains many things internally just by installing angular that can be used Like http calls etc
React js
It has unidirectional flow
Uses virtual DOM concept.
For react we have to search for modules (still its easy to. We have lots and lots of modules already available)
Syntax aswell is different. :)