-
Notifications
You must be signed in to change notification settings - Fork 367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update examples to support reflex 0.2.0 #128
Merged
Lendemor
merged 18 commits into
reflex-dev:main
from
milochen0418:pr-simple-update-to-reflex-0-2-0
Jul 1, 2023
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
1805db5
Update to clock example to support reflex 0.2.0
milochen0418 ea4ac9d
Update to crm example to support reflex 0.2.0
milochen0418 750d6a2
Update fragment example to support reflex 0.2.0
milochen0418 e597f7c
Update gpt example to support reflex 0.2.0
milochen0418 e02d3c2
Update nba example to support reflex 0.2.0
milochen0418 8931f33
Update quiz example to support reflex 0.2.0
milochen0418 e838e9b
Update snakegame example to support reflex 0.2.0
milochen0418 d6db770
Update tailwind example to support reflex 0.2.0
milochen0418 9dce5be
Update todo example to support reflex 0.2.0
milochen0418 bc5d33e
Update translator example to support reflex 0.2.0
milochen0418 e406b09
Update traversal example to support reflex 0.2.0
milochen0418 42b7324
.gitignore update
milochen0418 262b9bd
Update twitter example to support reflex 0.2.0
milochen0418 a70420d
update counter's .gitignore
milochen0418 644d0e4
Adjust counter
milochen0418 fdac41d
Update upload example to support reflex 0.2.0
milochen0418 cd63b99
Update sales example to support reflex 0.2.0
milochen0418 f132095
Update stable_diffusion example to support reflex 0.2.0
milochen0418 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.web | ||
pynecone.db | ||
*.py[cod] | ||
__pycache__/ | ||
.web | ||
__pycache__/ | ||
reflex.db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
pynecone>=0.1.33 | ||
reflex>=0.2.0 | ||
pytz==2022.7.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import reflex as rx | ||
|
||
config = rx.Config( | ||
app_name="clock", | ||
db_url="sqlite:///reflex.db", | ||
env=rx.Env.DEV, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
*.py[cod] | ||
.web | ||
__pycache__/ | ||
pynecone.db | ||
reflex.db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
pynecone>=0.1.33 | ||
reflex>=0.2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
import reflex as rx | ||
|
||
|
||
config = rx.Config( | ||
app_name="counter", | ||
bun_path="$HOME/.bun/bin/bun", | ||
db_url="sqlite:///reflex.db", | ||
env=rx.Env.DEV, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
*.py[cod] | ||
.web | ||
pynecone.db | ||
__pycache__/ | ||
*.py[cod] | ||
reflex.db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
"""Welcome to Pynecone! This file outlines the steps to create a basic app.""" | ||
import pynecone as pc | ||
"""Welcome to Reflex! This file outlines the steps to create a basic app.""" | ||
import reflex as rx | ||
from crm.pages import index, login | ||
from crm.state import State | ||
|
||
|
||
# Add state and page to the app. | ||
app = pc.App(state=State) | ||
app = rx.App(state=State) | ||
app.add_page(index) | ||
app.add_page(login) | ||
app.compile() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pyneknown => maybe should find another name, not blocking for PR approval