Skip to content
Sign UpLog In
Profile icon

Matthew Doan

@MatthewDoan1
  • Cool shooter!

    Cover page
    Made with Node.js

    A cool game

    Recent comments (0)
  • Multiplayer Phaser Game

    Cover page
    Made with Node.js
    Recent comments (0)
  • Calculator!

    Cover page
    Made with Node.js

    Online React Editor and IDE: compile, run, and host React apps

    Recent comments (0)
Repls
Community
MatthewDoan1
MatthewDoan1
shared a Post
2 years ago
Is there any way to authenticate repl.it users in React?
Basically the title. I see repl.it auth being used mainly on the server-side, but is there any way to use it on the client-side with ReactJS?
PattanAhmed
PattanAhmed
@MatthewDoan1 Hi, You will also need Front-End and Back-End > (IG) React.js is just Front-End and you need Back-End like HTML, Python, etc. *Hope this helps Please mark my answer if this helps*2 years ago
ironblockhd
ironblockhd
It is possible with fetch and localStorage, here's an example in express: https://repl.it/@ironblockhd/clientsideAuth#index.js2 years ago
Coder100
Coder100
sorry, that is not possible, you will need a backend to parse the header.2 years ago
MatthewDoan1
MatthewDoan1
shared a Post
3 years ago
Hey everyone, I just wanted to share a cool React calculator I made. (Psst, Edwin, if you're reading this: I'm starting to learn React, thanks bro).
Reeeeact!
Node.js
DorshReal
DorshReal
Nice!3 years ago
JackLogan2
JackLogan2
Makes my calculator look like crap. Nice!3 years ago
staticvoidliam7
staticvoidliam7
wow3 years ago
MatthewDoan1
MatthewDoan1
shared a Post
3 years ago
EDIT: Ok so a lot of people have this bug so I've filed a bug report [here] (https://repl.it/bugs/p/repeated-posts-in-repl-talk). Thanks everyone who
HackermonDev
HackermonDev
isn't that a red line or am I just color blind?3 years ago
MatthewDoan1
MatthewDoan1
Thanks for your feedback, y'all; I've posted the bug here. Upvote it so the repl.it team finds out quicker!3 years ago
MatthewDoan1
MatthewDoan1
shared a Post
3 years ago
Hello, everybody! I was researching the Koa framework and its examples because I was inspired by dolya.me, which @Zavexeon and @TheDrone7 made togeth
hyperupcall
hyperupcall
hi! the npm package koa exports a default function object. you assign that to a variable called Koa with the const variable declaration using nodes global commonjs require method. Koa is capitalized because the value assigned to it is a constructor function, and you can create instances of it (i.e. app) by using the new keyword in other words. with koa's api, you are able to do this const app = new Koa() just like if you create a class Dog { this.color = brown } you can instantiate an inst3 years ago
hulaloop
hulaloop
Beats me!3 years ago
MatthewDoan1
MatthewDoan1
shared a Post
3 years ago
So this is my submission for the Massively Multiplayer Hackathon. Our team consists of me and @Jess4Tech. We hope you like it! Please point out any b
Java MMH
Java
MatthewDoan1
MatthewDoan1
shared a Post
3 years ago
I was wondering if anybody else was having this issue. If so, I'll post it to the repl.it's bugs page. Here's my problem: I was trying to sort the Sh
hayaodeh
hayaodeh
So I think this is fixed now. I tried to reproduce but it works fine at my end.3 years ago
hyperupcall
hyperupcall
yeah i seem to be getting this as well even after scrolling down passed announcements and pinned posts, the categories are still jumbled up despite me selecting one. i guess we can file a bug repot or wait for it to be fixed :P3 years ago
MatthewDoan1
MatthewDoan1
shared a Post
3 years ago
I think this is a bug. You shouldn't be able to post in announcements... how strange
theangryepicbanana
theangryepicbanana
Yea this is a known issue. For now, posts in Announcements will either be moved to a better board or removed3 years ago
mwilki7
mwilki7
I also think it's a bug, but staff seems to be okay with it and it isn't used very much. ¯\\\(ツ)\/¯3 years ago
MatthewDoan1
MatthewDoan1
shared a Post
3 years ago
Hey everybody! I'm currently learning JavaScript and trying o build a turn-based game with Colyseus and Express. However, the Colyseus examples show
javascript
express
hyperupcall
hyperupcall
hi! require and import are both functions / keywords you can use to import a module, or to use some functions or variables from another person's code. require is based on the commonjs module (cjs) specifications. because this is implemented by node, you can use it in node. however, the browser does not understand require at all, so you cannot use it in the browser. good news, browsers do understand ecmascript modules (esm). ecmascript modules were added in es6, or the ecma2015 version of jav3 years ago
MatthewDoan1
MatthewDoan1
shared a Post
3 years ago
Hi everybody! I recently finished reading a book on Kotlin Programming: check it out here. To test my knowledge of the language, I've done a few sim
ranjayarul
ranjayarul
Can someone make a tutorial for Kotlin in repl, like the one for python?3 years ago
MatthewDoan1
MatthewDoan1
shared a Post
3 years ago
Hello everyone I recently decided to create a cool game using Java, when it suddenly occurred to me that repl.it didn't support Maven or Gradle. So I
dperezcabrera
dperezcabrera
Hello, I think this can help you: https://repl.it/feedback/p/thank-you-java-with-maven-and-swing3 years ago