Promote unstable_dev() to dev()
See original GitHub issueThis issue will track the issues required to promote api/unstable_dev()
to api/dev
- We should rewrite our local-mode tests to use unstable_dev:
- https://github.com/cloudflare/wrangler2/issues/1419
- this is blocked until we implement a react-free version of
unstable_dev
, as it doesn’t currently work in CI:
- https://github.com/cloudflare/wrangler2/issues/1756
- The API needs to export its types for consumers, tracked by:
- We need to finalise the types that
dev
uses for the options config: - Stabilize unstable_dev’s options
Issue Analytics
- State:
- Created a year ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
Cumulative Layout Shift (CLS) - web.dev
A screencast illustrating how layout instability can negatively affect users. ... or left properties and use transform: translate() instead.
Read more >17 Goals to Transform our World - the United Nations
Promote peaceful and inclusive societies for sustainable development, provide access to justice for all and build effective, accountable and inclusive ...
Read more >ContentResolver | Android Developers
Since multiple concurrent syncs are now supported you should use getCurrentSyncs() to get the accurate list of current syncs. This method returns the...
Read more >Pros and Cons of Node.js Web App Development | AltexSoft
Explore all node js advantages and disadvantages to see whether your project can benefit from this technology choice.
Read more >Chapter 8: Emerging Adulthood – Lifespan Development
Five features make emerging adulthood distinctive: identity explorations, instability, self-focus, feeling in-between adolescence and adulthood, and a sense of ...
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
I feel like there should be a more defined goal for the librarification of wrangler – like is the point to export just the commands e.g.
wrangler.dev
,wrangler.kv.put
? or will we also include things like running an authentication flow or parsing awrangler.toml
, which are not “commands” that wrangler runs but are potentially useful to people using wrangler as a library? I guess this is a scope question.Once that’s decided, I think it also makes sense to define how exactly the commands we export are going to be defined – i think it would be nice to have all the commands follow a certain spec, like for example “every command returns an
EventEmitter
the user can listen to” or “every command takes as parameters its CLI arguments incamelCase
instead ofkebab-case
”.I feel fairly strongly that we shouldn’t promote
dev
until these sorts of things are sorted, since any standardization/changes to the public facing…library…API…? would be breaking, and therefore require a new major release?Thank you! Now my only dirty change into the cli.js is to expose the
createTail
. I’ll appreciate whenever you expose theunstable_tail
API.