Giter Club home page Giter Club logo

kino_live_view_native's People

Contributors

bcardarella avatar brooklinjazz avatar nduatik avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

nduatik pshoukry

kino_live_view_native's Issues

Move the compile-time configuration information into the library

I'd like to find a way to move the compile-time configuration from the Mix.install in the Livebook to within this library itself. I had originally gone with config/config.exs but of course this won't load when this lib is pulled in as a dependency. There is also setting the env within the application function for Mix.Project: https://hexdocs.pm/mix/Mix.Tasks.Compile.App.html#content and https://hexdocs.pm/elixir/Application.html#module-the-application-environment but this will only set default values for the application in question, I also need to configure live_view_native platform.

The config files cannot be read in at runtime from what I can tell. Even if this isn't performant I'd be OK with this if there was a work around because the intent of this library is for Livebook tutorials and not production use.

Web renders do not send `<script>`

When performing a web render, the document has no script tag. This means the WebSocket never connects and the LiveView cannot be interacted with.

<!DOCTYPE html>
<html lang="en" class="[scrollbar-gutter:stable]">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="csrf-token" content="TS0PfXAoERQyADB6Pw9UA10fOz4dLS5jtufE9FyAwO_WEY82lhlX-eIU">
  </head>
  <body class="bg-white antialiased">
<div id="phx-F6z-3SZo0j8msTwD" data-phx-main data-phx-session="SFMyNTY.g2gDaAJhBXQAAAAIdwJpZG0AAAAUcGh4LUY2ei0zU1pvMGo4bXNUd0R3B3Nlc3Npb250AAAAAHcKcGFyZW50X3BpZHcDbmlsdwZyb3V0ZXJ3FEVsaXhpci5TZXJ2ZXIuUm91dGVydwR2aWV3dxZFbGl4aXIuU2VydmVyLk1haW5MaXZldwhyb290X3BpZHcDbmlsdwlyb290X3ZpZXd3FkVsaXhpci5TZXJ2ZXIuTWFpbkxpdmV3DGxpdmVfc2Vzc2lvbmgCdwdkZWZhdWx0bggAtHgnj9r-rBduBgBMuKE2jQFiAAFRgA.sXLK7cHbhLI9VB4UTqz3X5Vfdlx0uwi26uhfly4IwEM" data-phx-static="SFMyNTY.g2gDaAJhBXQAAAADdwJpZG0AAAAUcGh4LUY2ei0zU1pvMGo4bXNUd0R3BWZsYXNodAAAAAB3CmFzc2lnbl9uZXdqbgYATLihNo0BYgABUYA.wNFCg7T4ApoJKrAjsQ3NBJtlOwkHBU6QS6w7gZzQPOE"><button phx-click="to-about">To About</button></div>
  <iframe hidden height="0" width="0" src="/phoenix/live_reload/frame"></iframe></body>
</html>

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.