4 ms·
This actually bit me multiple times. I started leaking server-side code to the client, which completely turned me off. Also I've been in several arguments with
by dimgl 5y ago
This actually bit me multiple times. I started leaking server-side code to the client, which completely turned me off. Also I've been in several arguments with Remix community members as to why middleware is necessary for server-side frameworks and why there needs to be a global state option.
I was going to evangelize them at my current gig... thankful that I didn't go down that route and made my own prototypes. There are solutions (such as implementing your own caching layer) but ugh, why.
- chrisweekly 4y agoI'm very interested to hear more about those arguments w/ the Remix community; got links to share? Re: leaking server code to the client, so far I've been well-served by the recommended preventative measures: audits for inadvertent side-effects, and/or ".server.tsx" filenames as needed. But your experience here may be more extensive. Could you expand on "made my own prototypes"?