matewilk
TTCTheo's Typesafe Cult
•Created by Chen on 4/7/2023 in #questions
How can I 'sell' React to a workplace of dinosaur devs who hate javascript?
I did use ExtJs, about 10 years ago, they were transitioning to Sencha back then, at the time it looked like a pretty solid framework/component library. I haven't seen it since so hard to say what has changed
56 replies
TTCTheo's Typesafe Cult
•Created by Chen on 4/7/2023 in #questions
How can I 'sell' React to a workplace of dinosaur devs who hate javascript?
You weight your options yourself obviously, and never take advise from a random dude on the internet like me, just a disclaimer 🙂
56 replies
TTCTheo's Typesafe Cult
•Created by Chen on 4/7/2023 in #questions
How can I 'sell' React to a workplace of dinosaur devs who hate javascript?
Sounds you work for a bank, if this is not a bank or a datacenter (I doubt a datacenter would have such an old tech) I would run as fast as possible.
If it is a bank, it might take a lot of flexing to convince them, but worth a try.
You also need to look at who you work with, they might not be willing to change because they would have to learn something new. If this is the case and you want to grow, you know what the answer is
56 replies
TTCTheo's Typesafe Cult
•Created by jairrard on 4/7/2023 in #questions
div inside a div - preventing complex onClick event propagation
e.preventDefault?
e.preventImmediatePropagation?
not enough context to really answer
6 replies
TTCTheo's Typesafe Cult
•Created by Gaden on 4/7/2023 in #questions
What statistics/analytics service to use?
You could also ignore the above, and use OpenTelemetry to collect your app data
https://opentelemetry.io/docs/instrumentation/js/
You can then send the data to a collector - it can be almost anything really that accepts open telemetry standard, can be Grafana (https://grafana.com/tags/opentelemetry/) New Relic or any other observability platform where you can chart and query your data.
21 replies
TTCTheo's Typesafe Cult
•Created by Gaden on 4/7/2023 in #questions
What statistics/analytics service to use?
You could use a free New Relic account. - https://newrelic.com/
It comes with dashboards that use query language so you can build very flexible views for your app needs
https://newrelic.com/platform/dashboards
Here is how you can instrument your app (next.js):
https://newrelic.com/blog/how-to-relic/nextjs-monitor-application-data
Sample repo:
https://github.com/newrelic-experimental/newrelic-nextjs-integration
And finally (if you really need it although the instrumentation is exactly the same for both repos) - t3 trpc example repo:
https://github.com/matewilk/t3-trpc-newrelic
Disclamers:
- you'll need to add some additional code to get the data you need with custom attribute methods, something like this - https://newrelic.com/platform/dashboards
- I'm the author of the blog post I linked above
- New Relic is free up to 100GB a month
- I'm not trying to sell you anything, I'm using it myself using a free New Relic account and it works pretty well for me.
21 replies
TTCTheo's Typesafe Cult
•Created by matewilk on 4/5/2023 in #questions
trpc and event streams
yup, sure, thanks for the answers!
3 replies
TTCTheo's Typesafe Cult
•Created by matewilk on 4/5/2023 in #questions
trpc and event streams
I tried to search for it but couldn't find any responses, are you able to link to the previous convos.
Surly I've done my own research on the internet and read thorough the trpc github issues but was hoping it could be done with tprc.
Well, apparently I'll have to add a regular endpoint
3 replies