-
Notifications
You must be signed in to change notification settings - Fork 70
Updates for edge, 0.8, and known issues #251
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
987ec18
document some of the changes in edge as well as known issues for late…
evs-chris 17e8f31
one day I'll learn how to type
evs-chris 7993829
docs for new @key unescaping and keypath helper methods
evs-chris 1ffb7aa
Merge branch 'master' of github.com:ractivejs/docs.ractivejs.org into…
evs-chris ce876bb
bump the code block contrast up a little
evs-chris 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,37 @@ | ||
| --- | ||
| title: Known issues, FAQs, and Tips | ||
| --- | ||
|
|
||
| ## Known Issues | ||
|
|
||
| ### Memory and crashing issues with Safari on iOS 9 | ||
|
|
||
| It seems that Apple has introduced some memory management _feature_ with Safari in iOS 9 that causes large templates to crash Safari during parsing. Fortunately, this can be worked around by splitting your templates into smaller partials or, more efficiently, by pre-parsing your templates and serving them as a JS object. You can use {{{createLink 'Ractive.parse()'}}} to create the JS object as a build step or when the page is being served. | ||
|
|
||
| Since there isn't _really_ any browser for iOS other than Safari, all browser on iOS 9 are affected by this issue. iOS 8 seems to remain unaffected. | ||
|
|
||
| ## FAQs | ||
|
|
||
| __Coming Soon!™__ | ||
|
|
||
| ## Tips | ||
|
|
||
| ### Using Ractive with... | ||
|
|
||
| * {{{createLink 'using-ractive-with-backbone' '...Backbone'}}} | ||
| * {{{createLink 'using-ractive-with-requirejs' '...RequireJS'}}} | ||
| * {{{createLink 'using-ractive-with-browserify' '...Browserify'}}} | ||
| * {{{createLink 'using-ractive-with-yeoman' '...Yeoman'}}} | ||
| * {{{createLink 'Promises' '...built-in Promise support'}}} | ||
| * {{{createLink 'using-ractive-with-jquery-mobile' '...jQuery Mobile'}}} | ||
| <!-- TODO * [...Underscore (and other utility libraries)](using-ractive-with-underscore) --> | ||
|
|
||
| ### Building an app with Ractive | ||
|
|
||
| Ractive can take care of your UI, and for simple applications it can take care of your *application state* as well. But if you're building a complex app you'll likely have other things to worry about as well - routing and history management, fetching and saving data to and from a server, validating data, handling realtime communication, user authentication, and all the other fun stuff that goes into a web app. | ||
|
|
||
| Unlike mega-frameworks like Angular and Ember, Ractive doesn't have an opinion about these things - you're encouraged to build your app from loosely coupled modules. It means you're not beholden to a particular framework's way of doing things, and you can swap out (for example) your routing library for something better later on, but it does mean that you're now responsible for making those decisions. | ||
|
|
||
| This section is designed to help with that, by collecting tips and advice. If you think your experience can help other developers, please add it to the wiki! | ||
|
|
||
| * {{{createLink 'Routing'}}} |
This file contains hidden or 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 hidden or 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.