yellowhammer
TTCTheo's Typesafe Cult
•Created by yellowhammer on 6/5/2023 in #questions
Rich Text Editor
I am in need of a rich text editor for our react app where a user can do some basic formatting (bold, italics, link, heading, bullets) to a piece of content whose html will then be sent via email. I've used Draft.js in the past which I see is no longer receiving updates. I've looked briefly into Lexical, but I'm wondering if it's too low level for our use case. Any recs?
27 replies
TTCTheo's Typesafe Cult
•Created by yellowhammer on 2/28/2023 in #questions
JavaScript alternative to CanCanCan
Does anyone have any recommendations for a JS library that manages authorization and permission to resources? We use CanCanCan in our Rails app and are looking for a JS alternative in a new app that manages 4 different types of users/subscriptions.
3 replies
TTCTheo's Typesafe Cult
•Created by yellowhammer on 10/2/2022 in #questions
Using tRPC with a request to an external API
I have an API route that hits a third-party API. What role can tRPC play in this request? Can I create a new query in and move this
fetch
to the resolve
or am I not thinking about this correctly?16 replies