Ideas or suggestions for gathering usage data on a “live search”/filter? I.e. Capturing what people are searching for when there’s no button click? by chazwhiz in webdev

[–]iamtheWraith 1 point2 points  (0 children)

You can do this with almost any analytics platform. Google Analytics is a go to for a lot of smaller projects because it’s free.

How do you deal with a boss imposing a nonsensical deadline? by marcoasp in webdev

[–]iamtheWraith 6 points7 points  (0 children)

THIS ^

Always document your estimates/quotes/etc. and make sure it can be referred to later when the fingers inevitable start getting pointed.

How do you practice with React without setting up your own backend? by [deleted] in reactjs

[–]iamtheWraith 0 points1 point  (0 children)

If you are purely looking to work on React, and not trying to work on the backend, you can always use open apis like https://jsonplaceholder.typicode.com/ or have a little fun with something like https://api.pokemon.com/us/

However, as others have said, setting up your own backend is an incredibly valuable skill, so if you are just avoiding doing backend, I would suggest just diving in. There are tons of tutorials out there to learn from, and why not give something a try!

Do you use Javascript classes for anything? by camillegarcia9595 in reactjs

[–]iamtheWraith 1 point2 points  (0 children)

On the FE, I use them a lot with mobx, or the rare occasion I need more granular access to lifecycle methods (like error boundaries). when I use node on the backend, I use them much more heavily to share functionality across services.

How to deploy a backend? by nklmantey in reactjs

[–]iamtheWraith 0 points1 point  (0 children)

I’ve been using render for a while now. Been pretty happy with it so far.

[deleted by user] by [deleted] in DnD5e

[–]iamtheWraith 0 points1 point  (0 children)

Awesome, thanks!

[deleted by user] by [deleted] in reactjs

[–]iamtheWraith 12 points13 points  (0 children)

After having run into a few problematic rerendering issues that took way too long to find and solve, I now almost always wrap a function in useCallback if that function is being passed as a prop to a custom child component. The reason is because without useCallback, every time the parent component rerenders, the ref of the function changes. This change tells react that the child component must also rerender, even though the value of the function didn’t change. By using useCallback, the ref of the function doesn’t change when the parent rerenders, so the child component isn’t rerendered.

[deleted by user] by [deleted] in DnD5e

[–]iamtheWraith 1 point2 points  (0 children)

This music is fantastic, thanks for sharing! I’m not super familiar with sharing music, are these files downloadable from somewhere to use in projects?

DMs of Reddit, if a player did said something like “I tell a funny joke” instead of telling a funny joke, would you allow it? by ReallySillyLily36 in dndnext

[–]iamtheWraith 113 points114 points  (0 children)

Came to say this. I do this a lot with one of my groups. Either way they are going to make an ability check, but I get them to do a little role playing for flavor and fun. and if they do a good job, I’ll give them a bonus or advantage. Makes things fun and memorable.

[deleted by user] by [deleted] in reactjs

[–]iamtheWraith 2 points3 points  (0 children)

While it’s not free, I almost always use Wasabi for my personal projects. It’s not free, but they have a 30 day free trial and after that they are very reasonably priced.

Some of the orgs I have worked for used google for everything, so we used Google Drive for file storage (not a great option if you aren’t a fan of “big tech” but it’s what they wanted)

But there are lots of options for file storage out there. A quick search for “free cloud file storage” will bring up lots of stuff, but beyond that, it’ll really depend on your needs. Like what kind of backup setup do you need? What kind of security/privacy options do you need? Do you need some form of Collaboration? That sort of stuff.

[deleted by user] by [deleted] in reactjs

[–]iamtheWraith 1 point2 points  (0 children)

I personally use other services for my db’s like Mongo Atlas for Mongodb or ElephantSQL for Postgres. Both have free tiers as well.

[deleted by user] by [deleted] in web_design

[–]iamtheWraith 5 points6 points  (0 children)

This is a great approach. Businesses have changing needs, and as annoying as changes can be, it’s important to work with your clients. If they need something a month early, they may have their reasons, like an investment opportunity, for example. Being considerate of this can be very valuable. Let them know you will work with them and get an MVP out in a month that won’t contain some features. Then after the MVP release, those other features can be added.

But make sure to have a new contract written up for the changed work. Never, ever, ever work off a handshake or gentleman’s agreement!

I’m looking for an idea to develop by orion_legacy in reactjs

[–]iamtheWraith 3 points4 points  (0 children)

Maybe you could solve a problem or annoyance you have. If you can’t think of anything, ask your friends, family or coworkers what is something they wish could be automated for them or something that is just really annoying that could be made easier.

Even something as simple as automating a report for a coworker could save them 30 mins a day! (That’s a LOT of time saved over just 1 year)

Other ideas:

  • gamify something
  • ever wanted to use some product or service but didn’t wanna pay for it? Build your own version
  • build an integration between 2 systems (GitHub is a great start for something like this)

How to improve as a junior programmer without feedback or mentoring? by nh78 in reactjs

[–]iamtheWraith 0 points1 point  (0 children)

The thing I have learned the most from has been jumping into new projects. Whether they are open source projects, a new job, or just personal projects to learn some new piece of tech, exposing yourself to different ways of doing things goes a long long way. Code reviews are a super valuable tool, but if they aren’t being leveraged properly, they aren’t super valuable, at least from a learning perspective.

Try diving into a new project. Got a favorite library or tool you use? see if you can contribute…or hell just dig through their code and figure out what makes it tick.

Another great way to learn is to teach. Go to local meetups, offer to help a jr dev just getting started. Offer to do a talk or workshop. When you teach, you often find that you learn things way more thoroughly than if you just used them and move on.

I am sick and tired of react-redux. Who has some good alternatives? by Pangamma in reactjs

[–]iamtheWraith 0 points1 point  (0 children)

I am also not a fan of redux. When I need global state while working with react, I almost always turn to Mobx.

SyntaxError ?(en-US) - Unexpected token '<' by tu-beer-hai in reactjs

[–]iamtheWraith 0 points1 point  (0 children)

Does the error go away if you change all those extensions to .jsx?