DAMACANSU
DAMACANSU
RReactiflux
Created by DAMACANSU on 10/30/2022 in #help-threads-react
✅ – Cansu – 11-43 Oct 30
i will wait for an alternative to javascript and react at frontend
21 replies
RReactiflux
Created by DAMACANSU on 10/30/2022 in #help-threads-react
✅ – Cansu – 11-43 Oct 30
a mess and waste of time
21 replies
RReactiflux
Created by DAMACANSU on 10/30/2022 in #help-threads-react
✅ – Cansu – 11-43 Oct 30
this is just
21 replies
RReactiflux
Created by DAMACANSU on 10/30/2022 in #help-threads-react
✅ – Cansu – 11-43 Oct 30
this is a two line job in GoLang, fuck me i will go to sleep
21 replies
RReactiflux
Created by DAMACANSU on 10/30/2022 in #help-threads-react
✅ – Cansu – 11-43 Oct 30
NOTHING WORKS
21 replies
RReactiflux
Created by DAMACANSU on 10/30/2022 in #help-threads-react
✅ – Cansu – 11-43 Oct 30
after that I changed render to
render() {
return (
<div>
{this.dataFromServer}
</div>
);
};
render() {
return (
<div>
{this.dataFromServer}
</div>
);
};
, and get message to
this.ws.onmessage = msg => {
const message = msg.data;
this.dataFromServer.push(<h1> message </h1>);
console.log(this.dataFromServer);
}
this.ws.onmessage = msg => {
const message = msg.data;
this.dataFromServer.push(<h1> message </h1>);
console.log(this.dataFromServer);
}
21 replies
RReactiflux
Created by DAMACANSU on 10/30/2022 in #help-threads-react
✅ – Cansu – 11-43 Oct 30
then I changed this to
dataFromServer: JSX.Element[] = [];
dataFromServer: JSX.Element[] = [];
21 replies
RReactiflux
Created by DAMACANSU on 10/30/2022 in #help-threads-react
✅ – Cansu – 11-43 Oct 30
dataFromServer: string[] = [];
dataFromServer: string[] = [];
changed this
21 replies
RReactiflux
Created by DAMACANSU on 10/30/2022 in #help-threads-react
✅ – Cansu – 11-43 Oct 30
render() {
return (
<div>
{this.dataFromServer.map((index) => <li>{index}</li>)}
</div>
);
};
render() {
return (
<div>
{this.dataFromServer.map((index) => <li>{index}</li>)}
</div>
);
};
i tried this
21 replies
RReactiflux
Created by DAMACANSU on 10/30/2022 in #help-threads-react
✅ – Cansu – 11-43 Oct 30
i tried this
21 replies
RReactiflux
Created by DAMACANSU on 10/30/2022 in #help-threads-react
✅ – Cansu – 11-43 Oct 30
I TRIED EVERYTHING PLEASE HELP ME BEFORE I GO INSANE.
21 replies
RReactiflux
Created by DAMACANSU on 10/30/2022 in #help-threads-react
✅ – Cansu – 11-43 Oct 30
AMINA KOYAYIM
21 replies
RReactiflux
Created by DAMACANSU on 10/30/2022 in #help-threads-react
✅ – Cansu – 11-43 Oct 30
ANANIN
21 replies
RReactiflux
Created by DAMACANSU on 10/30/2022 in #help-threads-react
✅ – Cansu – 11-43 Oct 30
why cant I just do
var caner = [1,2,3,4,5]
for (int i=1; i<len(caner); i++){printf(caner[i])}
var caner = [1,2,3,4,5]
for (int i=1; i<len(caner); i++){printf(caner[i])}
21 replies
RReactiflux
Created by DAMACANSU on 10/30/2022 in #help-threads-react
✅ – Cansu – 11-43 Oct 30
outputting an array shouldnt be this hard.
21 replies
RReactiflux
Created by DAMACANSU on 10/30/2022 in #help-threads-react
✅ – Cansu – 11-43 Oct 30
dataFromServer: any[] = [];
dataHTML: any[] = [];
dataFromServer: any[] = [];
dataHTML: any[] = [];
is just any arrays.
21 replies
RReactiflux
Created by DAMACANSU on 10/30/2022 in #help-threads-react
✅ – Cansu – 11-43 Oct 30
render() {
return (
<Fragment>
VALUE:{" "}
{this.dataHTML.map((item, index) => (
<div>{this.dataHTML[index]}</div>
))}
</Fragment>
)
};
render() {
return (
<Fragment>
VALUE:{" "}
{this.dataHTML.map((item, index) => (
<div>{this.dataHTML[index]}</div>
))}
</Fragment>
)
};
horribly fails
21 replies