Skip to content

Commit

Permalink
chore(docs): fix remaining typos
Browse files Browse the repository at this point in the history
  • Loading branch information
BatuhanW committed May 29, 2024
1 parent ef1baf4 commit 07827ee
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion documentation/blog/2023-08-12-react-admin-vs-refine.md
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ To sum it up:

- Refine is not only an open-core solution but also a performance-driven framework with it's architecture.
- Its headless nature keeps your project well within the realm of vanilla React, making integration seamless.This architecture ensures that your project remains firmly rooted in vanilla React, simplifying integration.
- One of the most importatnt aspect is that Refine empowers you with free enterprise-level features, similar to those found in react-admin's enterprise package, without any additional financial commitment.
- One of the most important aspect is that Refine empowers you with free enterprise-level features, similar to those found in react-admin's enterprise package, without any additional financial commitment.

From our point of view, this combination of capabilities, coupled with its user-friendly nature and and remarkably small bundle size positions Refine as an perfect choice for web developers.

Expand Down
2 changes: 1 addition & 1 deletion documentation/blog/2023-10-26-htmx.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ Additionally, htmx offers a programmatic method for cancelling requests: To stop

## CSS Transitions

HTMX lets you perform CSS Transitions without the need for javascript. we will illustrate this wwith an example:
HTMX lets you perform CSS Transitions without the need for javascript. we will illustrate this with an example:

```tsx
<div id="div1">The Empire</div>
Expand Down
2 changes: 1 addition & 1 deletion documentation/blog/2024-02-05-docker-alternatives.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ This will build the Dockerfile in the current directory with Buildkit, creating

## **Comparison Chart**

Below is a comparison table summarizing the key differences between all the Docker alternatives disussed above.
Below is a comparison table summarizing the key differences between all the Docker alternatives discussed above.

| Feature | Docker | containerd | LXD | BuildKit | Podman | buildah | runc |
| ----------------- | ------------------------------------- | --------------------------------------------- | ----------------------------------------------- | --------------------------------------- | ----------------------------- | --------------------------------- | ------------------------------------------------------------- |
Expand Down
2 changes: 1 addition & 1 deletion documentation/blog/2024-03-11-jwt-authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ Let's implement a simple user authorization with JWTs. Add the changes below to
//highlight-start
require("dotenv").config();
const jwt = require("jsonwebtoken");
//highlight-ned
//highlight-end
const express = require("express");
const app = express();

Expand Down
2 changes: 1 addition & 1 deletion documentation/blog/2024-05-28-react-usereducer.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ We first spend time to understand what essentially makes a React reducer, how it

We demonstrate how to consume reducer data (stored as `posts`) and present them in JSX. While doing so, we also cover how to invoke actions with `dispatch()` by passing desired types to it (`like` and `unlike`). We discuss the importance of a reducer function and acknowledge the painstaking care necessary while writing one. We analyze relevant code snippets to show some good practices involved in efficiently composing React reducer functions that is used by a `useReducer()` hook. We spare time to understand the significance of initial reducer state and examine examples of how to pass one to `useReducer()`.

In the later half, we expand our example to demonstrate how `useReducer()` enables state updates on multiple nesting levels. We add `create` and `delete` action types to the topmost level of `posts` that allow creating and deleting a post respectively. We elucidate with an example how to use a state initializer function for enhancing performance of a reducer. Towards the end, disucss the benefits of using `useReducer()`, how reducers are vital in Redux and how `useReducer()` and Redux compare.
In the later half, we expand our example to demonstrate how `useReducer()` enables state updates on multiple nesting levels. We add `create` and `delete` action types to the topmost level of `posts` that allow creating and deleting a post respectively. We elucidate with an example how to use a state initializer function for enhancing performance of a reducer. Towards the end, discuss the benefits of using `useReducer()`, how reducers are vital in Redux and how `useReducer()` and Redux compare.

Steps we follow in this post are as follows:

Expand Down
2 changes: 1 addition & 1 deletion documentation/docs/guides-concepts/faq/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ Still, there two common errors that you may encounter when working with Refine i

- `401 (Unauthorized) from :5001/api/.auth/sessions/whoami` - This error is related with the Refine's Devtools and logged if there are no active authentication sessions in Devtools. You can get rid of this error by logging in to the Devtools.

- Numerous `404 (Not Found)` errors when using Refine's Inferencer - These errors are related with the Inferencer component since the main logic behing Inferencer components are to infer the data structure from the API. When trying to infer the data structure, Inferencer may send requests to the API to determine relationships between resources. You can safely ignore these errors as they are not affecting the functionality of the application. To learn more about the functionality of Inferencer, check out the [How the fields are inferred? section in Inferencer docs](/docs/packages/inferencer/#how-the-fields-are-inferred).
- Numerous `404 (Not Found)` errors when using Refine's Inferencer - These errors are related with the Inferencer component since the main logic behind Inferencer components are to infer the data structure from the API. When trying to infer the data structure, Inferencer may send requests to the API to determine relationships between resources. You can safely ignore these errors as they are not affecting the functionality of the application. To learn more about the functionality of Inferencer, check out the [How the fields are inferred? section in Inferencer docs](/docs/packages/inferencer/#how-the-fields-are-inferred).

If you have any other network errors thrown by Refine and have no relation with the above mentioned errors or not caused by your project's logic, please reach out to us via [GitHub Issues](https://github.com/refinedev/refine/issues) or our [Discord Community](https://discord.gg/refine).

Expand Down
2 changes: 1 addition & 1 deletion documentation/docs/guides-concepts/realtime/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ If you don't handle unsubscription, it could lead to memory leaks.

This method is used to publish an event on client side. Beware that publishing events on client side is not recommended and the best practice is to publish events from server side. You can refer [Publish Events from API](#publish-events-from-api) to see which events must be published from the server.

This `publish` is used in [realated hooks](#publish-events-from-hooks). When `publish` is used, subscribers to these events are notified. You can also publish your custom events using [`usePublish`](/docs/realtime/hooks/use-publish).
This `publish` is used in [related hooks](#publish-events-from-hooks). When `publish` is used, subscribers to these events are notified. You can also publish your custom events using [`usePublish`](/docs/realtime/hooks/use-publish).

```ts title="liveProvider.ts"
export const liveProvider = (client: Ably.Realtime): LiveProvider => {
Expand Down

0 comments on commit 07827ee

Please sign in to comment.