Git Product home page Git Product logo

reflex-examples's Introduction

reflex-examples's People

Contributors

3noch avatar ali-abrar avatar benkolera avatar cgibbard avatar dfordivam avatar ericson2314 avatar gspia avatar hansroland avatar hsloan avatar imalsogreg avatar jbetz avatar jeffreyrosenbluth avatar jhartzell42 avatar kitlangton avatar luigy avatar matthewbauer avatar oliver-batchelor avatar paolino avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

reflex-examples's Issues

Instruction is unclear

ob run stops with

Ok, 19 modules loaded.
Loaded GHCi configuration from /run/user/1000/ob-ghci-ea5f1d2755776854/.ghci

What next?

examples don't work on firefox

Since updating reflex-examples to use Obelisk to run/build the examples, it looks like the examples have stopped working on Firefox.

The last commit I could find that works on Firefox is fc13182. The next few commits after that change over to use Obelisk (5825358, d18bc83, db4673f, etc). The examples stop working in Firefox at this time.

The current master also seems to be broken in Firefox.

Here's what I'm trying to do and what happens:

  1. Run ob run in order to run the examples. Eventually it says Frontend running on http://localhost:8000/ on the console.

  2. I open http://localhost:8000 in Firefox. This displays a page that looks just like https://examples.reflex-frp.org/.

  3. However, in my terminal, I get the following message:

    Error : Unexpected Duplicate. syncCallbacks=True nBatch=2 nExpected=4
    

    Note that this is in the console where I've run ob run (not Firefox's Javascript console).

    Sometimes I get this message immediately. Sometimes it only shows up after clicking Basic To Do List. Sometimes I am able to successfully click the Basic To Do List link without seeing the error. A similar thing happens if I just immediately go to http://localhost:8000/examples/basictodo and try to enter text.

  4. I don't see any errors in the browser console.

  5. At this point the browser becomes unresponsive and no links respond to click. I can't do anything here.

I also tried running nix-build and opening ./result/ghcjs/frontend/bin/frontend.jsexe/index.html directly in Firefox, but nothing shows on the screen.

Pinging @dfordivam.


However, for some reason I don't seem to have any problem with the https://examples.reflex-frp.org site, so I'm not sure what is going on here.

`ob run` terminates with an error

After freshly cloning this repo I get the following error:

>>> git clone https://github.com/reflex-frp/reflex-examples.git
Cloning into 'reflex-examples'...
remote: Enumerating objects: 1637, done.
remote: Total 1637 (delta 0), reused 0 (delta 0), pack-reused 1637
Receiving objects: 100% (1637/1637), 2.14 MiB | 875.00 KiB/s, done.
Resolving deltas: 100% (681/681), done.
>>> cd reflex-examples 
>>> ob run 
./.obelisk/impl: command not cached, building ...
DONE Built on ./.obelisk/impl [command]
Process exited with code 1; 'nix' 'eval' '-f' '.' '(let a = import ./. {}; in toString (a.reflex.nixpkgs.lib.isDerivation a.passthru.staticFilesImpure))' '--raw'

What should I do?

When I did this for the first time there where many build actions that were performed successfully before ob run finally failed. Nut I cannot reproduce the successful actions and messages. I hope these are not relevant?

Broken Layout ToDo App

Hi,

I was looking at some of the online examples, however the ToDo App does not seem to be properly formatted:
image

Browser is Chrome Version 78.0.3904.108 (Official Build) (64-bit)

In general, a lot of the examples could be more ... appealing ๐Ÿ˜

Especially I think the very first sample should look cool. I very much like the Peg Solitaire, even though I don't know how to play it. ๐Ÿ˜„

Edit: #28 seems to be solving this

Repo does not have a license

This repo does not have a license. I would like to refer to some of this code in a proprietary project. Would it be possible to add a permissive one (BSD, MIT, etc.) to it?

Multiple file readers

The file reader example is excellent, but how do you extend it to handle multiple files or images?

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.