Replies: 2 comments
-
Please do respond for this. |
Beta Was this translation helpful? Give feedback.
0 replies
-
As pointed out in the
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How to use socket io when I have the rest implemented in frontend and configured in my feathers, but when I am using the socket io connection and getting configured to the same feathers It is stating that only one default is allowed. I am using React here and also provide me a guide so that i can learn the feathers js like pdf, etc; pls do this help....
Can I use code in this format:
import React, { useEffect } from 'react';
import { feathers } from '@feathersjs/feathers';
import rest from '@feathersjs/rest-client';
import socketio from '@feathersjs/socketio-client';
import io from 'socket.io-client';
const MyComponent = () => {
useEffect(() => {
// Create a Feathers app instance
const app = feathers();
}, []); // Run this effect only once on component mount
return (
{/* Your component JSX */}
);
};
export default MyComponent;
Beta Was this translation helpful? Give feedback.
All reactions