
Public
Like
3
reactRouter7Example
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v108View latest version
When you submit a new message board thing, it doesn't redirect to that newly created thing after it's done. It just shows a lame empty page.
I am returning a redirect in the action, but that is now returned as a full response. How do I just get the relevant redirect data on the client, so the client can do the redirect?
Or is it better to send over the data from the server and skip another loader?
After
- Get OpenTownie or Gemini or Claude or OpenAI to synthesize the core of these patterns into a prompt we can use to make more ReactRouter apps, such as...
- Convert this or into the basic react router guest book (and preserve this forum app in another project?)
- Sometimes when you hit the back button, you get the JSON representation of the page, ie its loader. That's weird! I wonder if I can get a solid repro of that.
- To what extent can these patterns be packaged up into a Val Town Router project? Would be neat to get the version pinning thing all centralized, can this as-a-library be that centralized place?