diff --git a/docs/components/component-elmish.md b/docs/components/component-elmish.md index 11c6f00f7..063389c45 100644 --- a/docs/components/component-elmish.md +++ b/docs/components/component-elmish.md @@ -4,7 +4,7 @@ Elmish is a library for building single page applications in F#, following the [model-view-update](https://guide.elm-lang.org/architecture/) architecture made famous by [Elm](http://elm-lang.org). -> The following diagram is a simplified, high-level view of the MVU pattern. `Model` in this case refers to your application's state, with `Update` and `View` the two functions that handle the flow of messaging. If you wish to read more, we also recommend reading the excellent [Elmish Book](https://zaid-ajaj.github.io/the-elmish-book/#/chapters/elm/the-architecture). +> The following diagram is a simplified, high-level view of the MVU pattern. `Model` in this case refers to your application's state, with `Update` and `View` as the two functions that handle the flow of messaging. If you wish to read more, we also recommend reading the excellent [Elmish Book](https://zaid-ajaj.github.io/the-elmish-book/#/chapters/elm/the-architecture). ```mermaid stateDiagram-v2 @@ -14,7 +14,7 @@ stateDiagram-v2 ``` ## How does Elmish integrate with SAFE? -Elmish is the library used to build the front-end application in SAFE and that application is compiled to JavaScript by [Fable](component-fable.md) to run in the browser. The [SAFE Stack template](../template-overview.md) comes pre-bundled with the [Elmish React](https://elmish.github.io/react/) module, which (as the name suggests) uses the [React](https://reactjs.org/) library to handle the heavy lifting of modifyng the DOM in an efficient way. This allow us to use the pure functional style of the MVU pattern whilst still retaining the ability to have a highly performant user interface. +Elmish is the library used to build the front-end application in SAFE and that application is compiled to JavaScript by [Fable](component-fable.md) to run in the browser. The [SAFE Stack template](../template-overview.md) comes pre-bundled with the [Elmish React](https://elmish.github.io/react/) module, which (as the name suggests) uses the [React](https://reactjs.org/) library to handle the heavy lifting of modifying the DOM in an efficient way. This allows us to use the pure functional style of the MVU pattern whilst still retaining the ability to have a highly performant user interface. Because Elmish works alongside React, it is possible to use the vast number of available React components from the JavaScript ecosystem within our Elmish applications. diff --git a/docs/components/component-saturn.md b/docs/components/component-saturn.md index bdb553b44..000ce7d74 100644 --- a/docs/components/component-saturn.md +++ b/docs/components/component-saturn.md @@ -15,7 +15,7 @@ Saturn provides the ability to drive your SAFE applications from the server. It * Hosting of your client-side assets, such as HTML, CSS and any JavaScript files generated by Fable. * Other cross cutting concerns e.g. authentication etc. -It also integrates with SAFE to allow seamless sharing of types and functions, since Fable will convert most F# into JavaScript. In addition, you can seamless transport data between client and server using either the Fable.JSON or Fable.Remoting libraries, both of which have support for Saturn. You can read more about this [here](../features/feature-clientserver.md). +It also integrates with SAFE to allow seamless sharing of types and functions, since Fable will convert most F# into JavaScript. In addition, you can seamlessly transport data between client and server using either the Fable.JSON or Fable.Remoting libraries, both of which have support for Saturn. You can read more about this [here](../features/feature-clientserver.md). ```mermaid flowchart TB diff --git a/docs/faq/faq-troubleshooting.md b/docs/faq/faq-troubleshooting.md index 11aba7420..958eab841 100644 --- a/docs/faq/faq-troubleshooting.md +++ b/docs/faq/faq-troubleshooting.md @@ -2,7 +2,7 @@ You may receive an error when trying to run the app, e.g. the current version might require `{"node":"~18 || ~20","npm":"~9 || ~10"}` but your locally installed versions are different. Ideally we'd like to install different versions side-by-side, which we can do using [Node Version Manager](https://www.freecodecamp.org/news/node-version-manager-nvm-install-guide/). -Once NVM is installed, identify the version of Node that you'd like to install by checking this [matrix](https://nodejs.org/en/download/releases). For our example here we can identify version `20.10.0` as satifying both the Node and npm version requirements. To install this version for the current project run: +Once NVM is installed, identify the version of Node that you'd like to install by checking this [matrix](https://nodejs.org/en/download/releases). For our example here we can identify version `20.10.0` as satisfying both the Node and npm version requirements. To install this version for the current project run: ``` nvm install 20.10.0 @@ -31,7 +31,7 @@ Whilst these messages can be safely ignored, you can eliminate them by installin ### Node Process does not stop after stopping the VS Code debugger VS Code does not kill the Fable process when you stop the debugger, leaving it running as a "zombie". In such a case, you will have to explicitly kill the process otherwise it will hold onto -port 8080 and prevent you starting new instances. This should be easily doable by sending Ctrl+C in the Terminal window in VS Code for `Watch Client` task. Tracked [here](https://github.com/SAFE-Stack/SAFE-template/issues/191). +port 8080 and prevent you from starting new instances. This should be easily doable by sending Ctrl+C in the Terminal window in VS Code for `Watch Client` task. Tracked [here](https://github.com/SAFE-Stack/SAFE-template/issues/191).