Moved from https://github.com/lubieowoce/tangle/pull/5#issuecomment-1620602079 - revalidatePaths is kinda working, but rn it just causes router.refresh() which drops EVERYTHING. instead, it'd be nicer to only drop the parts that were revalidated, which'd require some cache surgery - for forms to work well, we need a redirect() thingy - finally, maybe it'd be nice to return an RSC response with the new page instead of requiring another fetch upon submit Questions: - should we allow pure-json actions, or should we squeeze everything through the lowest common denominator of FormData to make actions sent from JS and non-JS have the same interface? - DO WE need to return the updated page? maybe it's fine to just send over e.g. a redirect?
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by lubieowoce and has received 0 comments.