Code Monkey home page Code Monkey logo

inertia_oak_middleware's Introduction

inertia_oak_middleware

⚠️💀 UNMAINTAINED ⚠️💀

About @inertiajs inertia server-side adapter for the @denoland Deno web-framework @oakserver oak

Credits

Favicon convertet from https://github.com/hashrock licensed under MIT

Features

  • Basic Inertia render
  • Static asset support
  • template to integrate with JS-UI-framework tooling
    • preferred eta but it is not possible, because vite cant process .eta and <%= =%>
    • check if vite can process {{{ html }}}
    • make it possible add support multiple renderer
  • Version support
    • Basic support
    • Move in Middleware to return early reference ?
      • Ask on discord or don't do it because the Pricing CRM sets headers and cookies even though the version mismatch and the render is the last call anyways.
      • Check if complete html should be returned on POST request without version header -> Not a use case
    • Session support ( reflash session when it contains errors, and version is incorrect )
  • Props
    • Shared Props
    • Computed Props
  • Redirect ( with shorthand ) for example in store methods
    • internal
    • external via inertia.location
  • Validation Errors
  • View Data
  • Partial Reloads

In question

  • Log if request version equals current version
  • Setup with session

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.