Coder Social home page Coder Social logo

kennygoff.com's Introduction

kennygoff.com

My personal website on the internet.

โ†’ kennygoff.com

Stack

Development

To install use npm:

npm install

To run a development build locally:

npm run dev

To run a production build:

npm run build

kennygoff.com's People

Contributors

kennygoff avatar

Watchers

 avatar

kennygoff.com's Issues

Revisit `remix dev --manual` when HMR issue is fixed

Originally posted by @pcattori in remix-run/remix#7466 (comment)

There's a couple different issues being conflated in this thread. Here are my current thoughts for disentangling them:

Issue 1: remix dev without --manual

If you are not using the -c flag for a custom server, there should be no reason not to use the --manual flag as it provides better DX anyway. remix dev without --manual should work too; if it doesn't currently, that's a bug. But in any case, I'd recommend just using remix dev --manual:

- remix dev
+ remix dev --manual

If you are using the -c flag for a custom server, check out our docs for manual mode.

Issue 2: wrangler + HMR

HMR seems to only work with wrangler <= 3.8.0 . Unsure if this is a bug in newer wrangler versions or (more likely) a race condition that is only prevalent for wrangler 3.9+. These sort of "file access" race conditions are only possible because we are coordinating the app server and the dev server via file writes (i.e. writing the server build to disk).

The principled solution is to not rely on files at all for coordination, which is exactly what Vite does. In fact, solving this type of race condition is exactly what first motivated me to look into Vite.

So in all likelihood, the workaround will be to stay on wrangler <= 3.8 until Vite (w/ CloudFlare support) is stabilized. Which is literally the thing I'm working on now. No promises on exact date, but rest assured its actively being worked on.

Other issues

If you have issues other than the two I mentioned here, it'd be great to track those in separate GitHub issues with specifics for your particular issue so we can make sure to prioritize those fixes accordingly.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.