[Missing Function] ctx.renderNotFound()
See original GitHub issueBased on the docs we should have a function called crx.renderNotFound()
available in a route handler.
I’m using the newest version of fresh to date, as far as I know this should be 1.0.2.
But my typescript complains about renderNotFound
not being a function:
I wanted to use it like this:
This is the file on the branch which is broken: https://github.com/codemonument/blog.codemonument.com/blob/2022-09-05_switch-to-fresh/routes/posts/[post].tsx
Thank you for this framework!
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:5 (4 by maintainers)
Top Results From Across the Web
missing function - RDocumentation
missing can be used to test whether a value was specified as an argument to a function.
Read more >Callback for join command is missing "ctx" parameter
ClientException: Callback for join/leave command is missing "ctx" parameter. Here's the code i have: import discord from discord.ext import ...
Read more >SFDC Submission - Task 5 | Kaggle
isFunction(obj) ? obj : template; function template() { return String(obj); } }, defer: ... function renderNotFound(query) { var template = this.templates.
Read more >JavaScript promised-mongo Examples - HotExamples
JavaScript promised-mongo - 30 examples found. These are the top rated real world JavaScript examples of promised-mongo.default extracted from open source ...
Read more >Custom function missing argument - PyTorch Forums
The previous code gives me TypeError: forward() missing 1 required positional argument: 'target' . This seems to happen because it takes ctx ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah, that is the intention. Slipped through this time though. Sorry!
I realize that this feels really frustrating for consumers of fresh. @lucacasonato is there any chance we could avoid updating fresh.deno.dev until we push the feature updates?