12/4/2023 0 Comments Hackernews reactxp![]() ![]() ![]() CommunityĪfter you ★Star this project, follow on Twitter. Git clone & cd hackernews-remix-react & npm install & npm run build & npm run dev Contributingįile an issue for ideas, conversation or feedback. You can download and run the repo with one command to rule them all: Or you can do a regular build and start using npm run build and npm run start. You can build and start with file watching using npm run dev. You could deploy it on an edge network (like Cloudflare Workers) or run it with NodeJS inside a cloud VM or VPS, for example. Remix can run in a number of runtime environments so the architecture for your app could be widely different depending on your requirements. Remix implements code-splitting, HTTP headers, asset bundling and various optimizations to make the site run fast in real-world scenarios. Remix takes care of the build system (using ESBuild), which works incredibly quickly and is a pleasure to work with. You can have endpoints with no UI and UI with no endpoints, or mixed. Remix routes folder correlates to route-matching UI views with layouts and endpoints for GET (loader) or all other HTTP verb methods (action). So requests are made generally using Remix's s and s which add some extra functionality on top of the regular and tags. Remix emphasises web primitives and fundamentals. Deployable on FaaS (Functions as a Service), edge workers or on your own NodeJS server ( Remix).Server can build a single JS file for optimized deployments ( Remix).Universal TypeScript/JavaScript ( Web standards).Loading state spinners not required by default ( Remix).Minimalistic client-side UI rendering ( Remix).Data management is simple resulting in smaller codebase and client JS bundle sizes, approx ~30-50% smaller for this HN clone project compared to the GraphQL HN clone ( Remix).Most apps can be built leveraging web fundamentals (form/anchor tag) requiring no state management library ( Remix).Data fetching for client and server uses the same loader code ( Remix).Toyota says solid-state battery breakthrough can halve cost and size ft.com. US to Curb China Access to Cloud Services Like Amazon, WSJ Says. 1 point by isaacfrond 4 minutes ago hide past. Nested routes allow building complex UI applications that are also SSR capable ( Remix) 336,000 servers remain unpatched against critical Fortigate vulnerability.Website works with JavaScript disabled ( Remix).ESBuild (via Remix, sub-second production builds).Remix (Server side rendering framework). ![]() The project implements the publicly available parts of the Hacker News site API, with some remaining functionality implemented in-memory. It is intended to be an example or boilerplate to help you structure your projects using production-ready technologies. This is a clone of Hacker News written in TypeScript using Remix and React. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |